~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Robert Collins
  • Date: 2005-10-11 07:00:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1443.
  • Revision ID: robertc@robertcollins.net-20051011070025-bac6b53cb6186dfd
create a config module - there is enough config logic to make this worthwhile, and start testing config processing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1103
1103
            b = None
1104
1104
        
1105
1105
        if email:
1106
 
            print bzrlib.osutils.user_email(b)
 
1106
            print bzrlib.config.user_email(b)
1107
1107
        else:
1108
 
            print bzrlib.osutils.username(b)
 
1108
            print bzrlib.config.username(b)
1109
1109
 
1110
1110
 
1111
1111
class cmd_selftest(Command):