summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):