summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCDump.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gui/CCDump.py')
-rw-r--r--src/Gui/CCDump.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Gui/CCDump.py b/src/Gui/CCDump.py
index 23535bf9..d8a15f9a 100644
--- a/src/Gui/CCDump.py
+++ b/src/Gui/CCDump.py
@@ -136,12 +136,17 @@ class Dump():
def get_backtrace(self):
try:
return self.backtrace
- except KeyError:
+ except AttributeError:
return None
def get_rating(self):
try:
return self.rating
- except KeyError:
+ except AttributeError:
return None
+ def get_hostname(self):
+ try:
+ return self.hostname
+ except AttributeError:
+ return None