From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoopm:master commit in: /, gentoopm/, gentoopm/basepm/
Date: Fri, 15 Jul 2011 13:32:04 +0000 (UTC) [thread overview]
Message-ID: <b48bd402d77a505a36103ef97486639d20139b5f.mgorny@gentoo> (raw)
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()
reply other threads:[~2011-07-15 13:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b48bd402d77a505a36103ef97486639d20139b5f.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox