comparison mercurial/transaction.py @ 20886:203908968644

transaction: drop extra import caught by pyflakes
author Matt Mackall <mpm@selenic.com>
date Wed, 02 Apr 2014 13:41:23 -0500
parents 5dffd06f1e50
children 0d05915b688d
comparison
equal deleted inserted replaced
20885:f49d60fa40a5 20886:203908968644
10 # 10 #
11 # This software may be used and distributed according to the terms of the 11 # This software may be used and distributed according to the terms of the
12 # GNU General Public License version 2 or any later version. 12 # GNU General Public License version 2 or any later version.
13 13
14 from i18n import _ 14 from i18n import _
15 import errno, os 15 import errno
16 import error, util 16 import error, util
17 17
18 def active(func): 18 def active(func):
19 def _active(self, *args, **kwds): 19 def _active(self, *args, **kwds):
20 if self.count == 0: 20 if self.count == 0: