diff --git a/CHANGES.txt b/CHANGES.txt index f6a84406..7da15b4f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -3,6 +3,7 @@ TradeDangerous, Copyright (C) Oliver "kfsone" Smith, July 2014 ============================================================================== v6.1.2 Nov 28 2014 +. (kfsone) '-q' now silences "unknown ..." warnings when importing with "-i" . (gazelle) Improvements to .CSV file handling, . (gazelle) Additional stations, data cleanup, etc. . (kfsone) Fix for importing data without demand/supply diff --git a/cache.py b/cache.py index 1fa53267..51845b62 100644 --- a/cache.py +++ b/cache.py @@ -387,7 +387,8 @@ def changeStation(matches): if not tdenv.ignoreUnknown: raise ex stationID = DELETED - print(ex) + if not tdenv.quiet: + print(ex) return # Check for duplicates @@ -432,7 +433,8 @@ def changeCategory(matches): ex = UnknownCategoryError(priceFile, lineNo, categoryName) if not tdenv.ignoreUnknown: raise ex - print(ex) + if not tdenv.quiet: + print(ex) categoryID = DELETED return @@ -476,7 +478,8 @@ def processItemLine(matches): ex = UnknownItemError(priceFile, lineNo, itemName) if not tdenv.ignoreUnknown: raise ex - print(ex) + if not tdenv.quiet: + print(ex) return # Check for duplicate items within the station.