Commits

Michał Górny committed b48bd40

Drop unused imports/vars.

Comments (0)

Files changed (3)

gentoopm/basepm/metadata.py

 # (c) 2011 Michał Górny <mgorny@gentoo.org>
 # Released under the terms of the 2-clause BSD license.
 
-from abc import abstractmethod, abstractproperty
+from abc import abstractmethod
 
 from gentoopm.util import ABCObject
 

gentoopm/querycli.py

 
 		try:
 			pm = get_package_manager()
-		except Exception as e:
+		except Exception:
 			arg.error('No working package manager could be found.')
 
 		return args.instance(pm, args) or 0
 		pass
 
 	def run(self):
-		import unittest, doctest
+		import unittest
 		import gentoopm.submodules, gentoopm.tests
 
 		maintestsuite = unittest.TestSuite()