summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCDump.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-01-30 21:33:42 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-01-30 21:33:42 +0100
commit226ad13b9324fdd5165a1158e310cebd0440aaf7 (patch)
treefc13e1613225e4e9037418a249e1c800d83de241 /src/Gui/CCDump.py
parentd49543d341681d0ab24ba58f7316fe155472573e (diff)
downloadabrt-226ad13b9324fdd5165a1158e310cebd0440aaf7.tar.gz
abrt-226ad13b9324fdd5165a1158e310cebd0440aaf7.tar.xz
abrt-226ad13b9324fdd5165a1158e310cebd0440aaf7.zip
GUI: fixed some pylint warnings
Diffstat (limited to 'src/Gui/CCDump.py')
-rw-r--r--src/Gui/CCDump.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Gui/CCDump.py b/src/Gui/CCDump.py
index 1f290929..2bb55dd0 100644
--- a/src/Gui/CCDump.py
+++ b/src/Gui/CCDump.py
@@ -79,11 +79,11 @@ class Dump():
#return self.Message[CD_CONTENT].split('\n')
return self.Message[CD_CONTENT]
- def getTime(self, format):
+ def getTime(self, fmt):
#print format
- if format:
+ if fmt:
try:
- return datetime.fromtimestamp(int(self.time[CD_CONTENT])).strftime(format)
+ return datetime.fromtimestamp(int(self.time[CD_CONTENT])).strftime(fmt)
except Exception, e:
print e
return int(self.time[CD_CONTENT])