Fix style warnings
authorGregory Szorc <gps@mozilla.com>
Thu, 07 Nov 2013 16:27:23 -0800
changeset 56 c3a579779e8842e53a281290070c0ba4f0e45445
parent 55 125edeefc88c14c8da54fd7fd3948825a0002bc7
child 57 6529ee22dd53512f22ea84acf6a6e7ebe81b0669
push id37
push usergszorc@mozilla.com
push dateFri, 08 Nov 2013 00:27:37 +0000
Fix style warnings
__init__.py
--- a/__init__.py
+++ b/__init__.py
@@ -156,17 +156,16 @@ mozext.refs_as_bookmarks
    is most useful on servers, as remote keys/refs are typically only
    created dynamically at run-time via a mechanism independent of
    bookmarks.
 """
 
 import datetime
 import errno
 import os
-import re
 import shutil
 import sys
 
 from operator import methodcaller
 
 from mercurial import revset
 
 from mercurial.i18n import _
@@ -282,18 +281,16 @@ def critique(ui, repo, entire=False, nod
     style.check_files(files)
 
     demandimport.enable()
 
 
 @command('moztrees', [], _('hg moztrees'))
 def moztrees(ui, **opts):
     """Show information about Mozilla source trees."""
-    from mozautomation.repository import TREE_ALIASES, REPOS
-
     longest = max(len(tree) for tree in REPOS.keys())
     ui.write('%s  %s\n' % (_('Repo').rjust(longest), _('Aliases')))
 
     for name in sorted(REPOS):
         aliases = []
         for alias, targets in TREE_ALIASES.items():
             if len(targets) > 1:
                 continue