#-----------------------------------------------------------------------------#
# MODULE DESCRIPTION                                                          #
#-----------------------------------------------------------------------------#

"""RedBrick Options Module; contains RBOpt class."""

#-----------------------------------------------------------------------------#
# DATA                                                                        #
#-----------------------------------------------------------------------------#

__version__ = '$Revision$'
__author__  = 'Cillian Sharkey'

#-----------------------------------------------------------------------------#
# CLASSES                                                                     #
#-----------------------------------------------------------------------------#

class RBOpt:
	"""Class for storing options to be shared by modules"""

	def __init__(self):
		"""Create new RBOpt object."""

		# Used by all modules.
		self.override = None
		# Used by useradm, RBUserDB & RBAccount.
		self.test = None
		# Used by useradm & rrs.
		self.mode = None
		self.setpasswd = None
		# Used by useradm.
		self.args = []
		self.help = None
		self.username = None
		self.dbonly = None
		self.aconly = None
		self.updatedby = None
		self.newbie = None
		self.mailuser = None
		self.usertype = None
		self.name = None
		self.email = None
		self.id = None
		self.course = None
		self.year = None
		self.years_paid = None
		self.birthday = None
		self.quiet = None
		# Used by rrs.
		self.action = None

@@ -553,16 +553,22 @@
 Revision
+: 1.2 
 $'%0A__aut
@@ -1211,15 +1211,10 @@
 lf.u
-sername
+id
  = N
@@ -1361,12 +1361,10 @@
 elf.
+c
 n
-ame
  = N
@@ -1374,17 +1374,19 @@
 %0A%09%09self.
-e
+alt
 mail = N
@@ -1462,10 +1462,9 @@
 ears
-_p
+P
 aid 

Change to new attribute names.