comparison mercurial/commands.py @ 15223:fc035e5370ca

pyflakes: clean up some import noise
author Matt Mackall <mpm@selenic.com>
date Tue, 11 Oct 2011 23:16:05 -0500
parents 269374b89b74
children 5d9a5b919863
comparison
equal deleted inserted replaced
15222:73015301db86 15223:fc035e5370ca
1850 # compiled modules 1850 # compiled modules
1851 ui.status(_("Checking installed modules (%s)...\n") 1851 ui.status(_("Checking installed modules (%s)...\n")
1852 % os.path.dirname(__file__)) 1852 % os.path.dirname(__file__))
1853 try: 1853 try:
1854 import bdiff, mpatch, base85, osutil 1854 import bdiff, mpatch, base85, osutil
1855 dir(bdiff), dir(mpatch), dir(base85), dir(osutil) # quiet pyflakes
1855 except Exception, inst: 1856 except Exception, inst:
1856 ui.write(" %s\n" % inst) 1857 ui.write(" %s\n" % inst)
1857 ui.write(_(" One or more extensions could not be found")) 1858 ui.write(_(" One or more extensions could not be found"))
1858 ui.write(_(" (check that you compiled the extensions)\n")) 1859 ui.write(_(" (check that you compiled the extensions)\n"))
1859 problems += 1 1860 problems += 1