Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkgui_helpers.py')
-rw-r--r--src/gtkgui_helpers.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py
index f83e22882..6900a856a 100644
--- a/src/gtkgui_helpers.py
+++ b/src/gtkgui_helpers.py
@@ -273,10 +273,10 @@ class HashDigest:
self.algo = self.cleanID(algo)
self.digest = self.cleanID(digest)
- def cleanID(self, id):
- id = id.strip().lower()
- for strip in (' :.-_'): id = id.replace(strip, '')
- return id
+ def cleanID(self, id_):
+ id_ = id_.strip().lower()
+ for strip in (' :.-_'): id_ = id_.replace(strip, '')
+ return id_
def __eq__(self, other):
sa, sd = self.algo, self.digest