Another patch related to the #1773

This commit is contained in:
Miroslav Stampar
2016-03-23 10:33:32 +01:00
parent 6c2f9859be
commit 5b0d5970cc
4 changed files with 8 additions and 1 deletions

View File

@@ -173,6 +173,7 @@ class Entries:
retVal = pivotDumpTable(table, colList, blind=False)
except KeyboardInterrupt:
retVal = None
kb.dumpKeyboardInterrupt = True
clearConsoleLine()
warnMsg = "Ctrl+C detected in dumping phase"
logger.warn(warnMsg)
@@ -279,6 +280,7 @@ class Entries:
retVal = pivotDumpTable(table, colList, count, blind=True)
except KeyboardInterrupt:
retVal = None
kb.dumpKeyboardInterrupt = True
clearConsoleLine()
warnMsg = "Ctrl+C detected in dumping phase"
logger.warn(warnMsg)
@@ -332,6 +334,7 @@ class Entries:
entries[column].append(value)
except KeyboardInterrupt:
kb.dumpKeyboardInterrupt = True
clearConsoleLine()
warnMsg = "Ctrl+C detected in dumping phase"
logger.warn(warnMsg)