public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gentoopm:master commit in: /, gentoopm/, gentoopm/basepm/
@ 2011-07-15 13:32 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2011-07-15 13:32 UTC (permalink / raw
  To: gentoo-commits

commit:     b48bd402d77a505a36103ef97486639d20139b5f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 13:31:29 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 13:32:30 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=b48bd402

Drop unused imports/vars.

---
 gentoopm/basepm/metadata.py |    2 +-
 gentoopm/querycli.py        |    2 +-
 setup.py                    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gentoopm/basepm/metadata.py b/gentoopm/basepm/metadata.py
index 81fd91f..79e2495 100644
--- a/gentoopm/basepm/metadata.py
+++ b/gentoopm/basepm/metadata.py
@@ -3,7 +3,7 @@
 # (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
 

diff --git a/gentoopm/querycli.py b/gentoopm/querycli.py
index acf1214..b69d231 100644
--- a/gentoopm/querycli.py
+++ b/gentoopm/querycli.py
@@ -122,7 +122,7 @@ class PMQueryCLI(object):
 
 		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

diff --git a/setup.py b/setup.py
index cbe52d5..91f5978 100755
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ class TestCommand(Command):
 		pass
 
 	def run(self):
-		import unittest, doctest
+		import unittest
 		import gentoopm.submodules, gentoopm.tests
 
 		maintestsuite = unittest.TestSuite()



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-15 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15 13:32 [gentoo-commits] proj/gentoopm:master commit in: /, gentoopm/, gentoopm/basepm/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox