|
|
0bdf0f5 |
From c5b16033712332b966f5d5507e02d90588b336d8 Mon Sep 17 00:00:00 2001
|
|
|
0bdf0f5 |
From: Rafal Luzynski <digitalfreak@lingonborough.com>
|
|
|
0bdf0f5 |
Date: Thu, 14 Feb 2019 20:28:44 +0100
|
|
|
0bdf0f5 |
Subject: [PATCH] Remove unused "import _"
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
Commit 77f85890b62130f46fc66291011ac3bdb2c13d99 unmarked some messages
|
|
|
0bdf0f5 |
from translation. Now "_" is no longer used in some files and the Python
|
|
|
0bdf0f5 |
linter complains with the following message:
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
[W0611(unused-import), ] Unused _ imported from gnome_abrt.l10n
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
which makes the package FTBFS in Fedora. This commit removes unused
|
|
|
0bdf0f5 |
imports.
|
|
|
0bdf0f5 |
---
|
|
|
0bdf0f5 |
src/gnome_abrt/controller.py.in | 1 -
|
|
|
0bdf0f5 |
src/gnome_abrt/directory_problems.py | 1 -
|
|
|
0bdf0f5 |
src/gnome_abrt/problems.py | 1 -
|
|
|
0bdf0f5 |
3 files changed, 3 deletions(-)
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
diff --git a/src/gnome_abrt/controller.py.in b/src/gnome_abrt/controller.py.in
|
|
|
0bdf0f5 |
index 44895fc..bbb987e 100644
|
|
|
0bdf0f5 |
--- a/src/gnome_abrt/controller.py.in
|
|
|
0bdf0f5 |
+++ b/src/gnome_abrt/controller.py.in
|
|
|
0bdf0f5 |
@@ -22,7 +22,6 @@ import traceback
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
# gnome-abrt
|
|
|
0bdf0f5 |
from gnome_abrt import errors
|
|
|
0bdf0f5 |
-from gnome_abrt.l10n import _
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
class Controller:
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
diff --git a/src/gnome_abrt/directory_problems.py b/src/gnome_abrt/directory_problems.py
|
|
|
0bdf0f5 |
index f8dfacc..3f8c205 100644
|
|
|
0bdf0f5 |
--- a/src/gnome_abrt/directory_problems.py
|
|
|
0bdf0f5 |
+++ b/src/gnome_abrt/directory_problems.py
|
|
|
0bdf0f5 |
@@ -32,7 +32,6 @@ from pyinotify import WatchManager, Notifier, ProcessEvent
|
|
|
0bdf0f5 |
# gnome-abrt
|
|
|
0bdf0f5 |
from gnome_abrt import problems
|
|
|
0bdf0f5 |
from gnome_abrt import errors
|
|
|
0bdf0f5 |
-from gnome_abrt.l10n import _
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
class INOTIFYGlibSource(GLib.Source):
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
diff --git a/src/gnome_abrt/problems.py b/src/gnome_abrt/problems.py
|
|
|
0bdf0f5 |
index a3a17b8..a87d8e5 100644
|
|
|
0bdf0f5 |
--- a/src/gnome_abrt/problems.py
|
|
|
0bdf0f5 |
+++ b/src/gnome_abrt/problems.py
|
|
|
0bdf0f5 |
@@ -24,7 +24,6 @@ import gnome_abrt.url
|
|
|
0bdf0f5 |
from gnome_abrt.application import find_application
|
|
|
0bdf0f5 |
from gnome_abrt.errors import (InvalidProblem,
|
|
|
0bdf0f5 |
UnavailableSource)
|
|
|
0bdf0f5 |
-from gnome_abrt.l10n import _
|
|
|
0bdf0f5 |
|
|
|
0bdf0f5 |
class ProblemSource:
|
|
|
0bdf0f5 |
NEW_PROBLEM = 0
|
|
|
0bdf0f5 |
--
|
|
|
0bdf0f5 |
2.17.2
|
|
|
0bdf0f5 |
|