/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/win32utils.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-21 23:03:42 UTC
  • mto: This revision was merged to the branch mainline in revision 6996.
  • Revision ID: jelmer@jelmer.uk-20180621230342-yl9vbifwc2x4ltvt
Avoid text_type()

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    cmdline,
32
32
    )
33
33
from breezy.i18n import gettext
34
 
from breezy.sixish import text_type
35
34
 
36
35
# We can cope without it; use a separate variable to help pyflakes
37
36
try:
272
271
    if windir:
273
272
        return os.path.splitdrive(windir)[0] + '/'
274
273
    # otherwise C:\ is good enough for 98% users
275
 
    return text_type('C:/')
 
274
    return u'C:/'
276
275
 
277
276
 
278
277
def get_user_name():