
"""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


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

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

__version__ = '$Revision: 1.2 $'
__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.uid = None
		self.dbonly = None
		self.aconly = None
		self.updatedby = None
		self.newbie = None
		self.mailuser = None
		self.usertype = None
		self.cn = None
		self.altmail = None
		self.id = None
		self.course = None
		self.year = None
		self.yearsPaid = None
		self.birthday = None
		self.quiet = None
		# Used by rrs.
		self.action = None

Change to new attribute names.
Change to new attribute names.

  
  """RedBrick Options Module; contains RBOpt class."""
  
  #-----------------------------------------------------------------------------#
  # DATA                                                                        #
  #-----------------------------------------------------------------------------#
  
- __version__ = '$Revision$'
+ __version__ = '$Revision: 1.2 $'
  __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.uid = None
  		self.dbonly = None
  		self.aconly = None
  		self.updatedby = None
  		self.newbie = None
  		self.mailuser = None
  		self.usertype = None
- 		self.name = None
+ 		self.cn = None
- 		self.email = None
+ 		self.altmail = None
  		self.id = None
  		self.course = None
  		self.year = None
- 		self.years_paid = None
+ 		self.yearsPaid = None
  		self.birthday = None
  		self.quiet = None
  		# Used by rrs.
  		self.action = None
  
Change to new attribute names.
## Code Before:

"""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

## Instruction:
Change to new attribute names.
## Code After:

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

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

__version__ = '$Revision: 1.2 $'
__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.uid = None
		self.dbonly = None
		self.aconly = None
		self.updatedby = None
		self.newbie = None
		self.mailuser = None
		self.usertype = None
		self.cn = None
		self.altmail = None
		self.id = None
		self.course = None
		self.year = None
		self.yearsPaid = None
		self.birthday = None
		self.quiet = None
		# Used by rrs.
		self.action = None
