/[gli]/trunk/src/GLIInstallProfile.py
Gentoo

Diff of /trunk/src/GLIInstallProfile.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 267 Revision 268
1""" 1"""
2Gentoo Linux Installer 2Gentoo Linux Installer
3 3
4$Id: GLIInstallProfile.py,v 1.28 2005/01/07 07:02:47 codeman Exp $ 4$Id: GLIInstallProfile.py,v 1.29 2005/01/19 06:17:03 codeman Exp $
5Copyright 2004 Gentoo Technologies Inc. 5Copyright 2004 Gentoo Technologies Inc.
6 6
7The GLI module contains all classes used in the Gentoo Linux Installer (or GLI). 7The GLI module contains all classes used in the Gentoo Linux Installer (or GLI).
8""" 8"""
9 9
294 elif attrName == 'hash': 294 elif attrName == 'hash':
295 hash = str(attr[attrName]) 295 hash = str(attr[attrName])
296 elif attrName == 'homedir': 296 elif attrName == 'homedir':
297 homedir = str(attr[attrName]) 297 homedir = str(attr[attrName])
298 elif attrName == 'uid': 298 elif attrName == 'uid':
299 if attr[attrName]:
299 uid = int(attr[attrName]) 300 uid = int(attr[attrName])
300 elif attrName == 'comment': 301 elif attrName == 'comment':
301 comment = str(attr[attrName]) 302 comment = str(attr[attrName])
302 303
303 allowable_nonalphnum_characters = '_-' 304 allowable_nonalphnum_characters = '_-'
304 305
336 """ 337 """
337 self._users = [] 338 self._users = []
338 339
339 if users != None: 340 if users != None:
340 for user in users: 341 for user in users:
342 #self.add_user(user) not sure what someone was doing here. remove later if not needed
341 self.add_user(user) 343 self._users.append(user)
342 344
343 def get_root_pass_hash(self): 345 def get_root_pass_hash(self):
344 "returns root_pass_hash" 346 "returns root_pass_hash"
345 return self._root_pass_hash 347 return self._root_pass_hash
346 348

Legend:
Removed from v.267  
changed lines
  Added in v.268

  ViewVC Help
Powered by ViewVC 1.1.20