~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jonathan Riddell
  • Date: 2011-08-25 10:06:07 UTC
  • mto: This revision was merged to the branch mainline in revision 6103.
  • Revision ID: jriddell@canonical.com-20110825100607-zdqh8eroocr0qy7f
give variable a nicer name, add crucial space

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
           }
76
76
I18N_FILES = []
77
77
for filepath in glob.glob("bzrlib/locale/*/LC_MESSAGES/*.mo"):
78
 
    lang = filepath[len("bzrlib/locale/"):]
79
 
    targetpath = os.path.dirname(os.path.join("share/locale",lang))
 
78
    langfile = filepath[len("bzrlib/locale/"):]
 
79
    targetpath = os.path.dirname(os.path.join("share/locale", langfile))
80
80
    I18N_FILES.append((targetpath, [filepath]))
81
81
 
82
82
def get_bzrlib_packages():