summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Finney <ben@benfinney.id.au>2008-05-16 19:36:09 +1000
committerBen Finney <ben@benfinney.id.au>2008-05-16 19:36:09 +1000
commit97c3c24b3060e8280fffed68ed60a68e04f382ca (patch)
tree8bedb2453c84881c12d4655ab3afc1e59bdaa496
parent0432da5b015c8dfa30adb03c9fb9f5a83251acdd (diff)
downloadpython-apt-97c3c24b3060e8280fffed68ed60a68e04f382ca.tar.gz
Statements on separate lines, to conform with PEP 8.
-rw-r--r--apt/package.py3
-rw-r--r--aptsources/distinfo.py3
-rw-r--r--aptsources/distro.py3
3 files changed, 6 insertions, 3 deletions
diff --git a/apt/package.py b/apt/package.py
index eef598af..51986874 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -28,7 +28,8 @@ import string
import gettext
-def _(s): return gettext.dgettext("python-apt", s)
+def _(s):
+ return gettext.dgettext("python-apt", s)
class BaseDependency(object):
diff --git a/aptsources/distinfo.py b/aptsources/distinfo.py
index 57266a49..ce90faac 100644
--- a/aptsources/distinfo.py
+++ b/aptsources/distinfo.py
@@ -34,7 +34,8 @@ import re
import gettext
-def _(s): return gettext.dgettext("python-apt", s)
+def _(s):
+ return gettext.dgettext("python-apt", s)
class Template:
diff --git a/aptsources/distro.py b/aptsources/distro.py
index f39f6748..888e6e06 100644
--- a/aptsources/distro.py
+++ b/aptsources/distro.py
@@ -30,7 +30,8 @@ import sys
import gettext
-def _(s): return gettext.dgettext("python-apt", s)
+def _(s):
+ return gettext.dgettext("python-apt", s)
class NoDistroTemplateException(Exception):