File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
10
10
11
11
- Some typos in docs, comments and examples
12
12
- Put back some translations that were removed
13
+ - Minor python tidyups
13
14
- Avoid deprecation warning from the ijson package. https://github.com/OpenDataServices/flatten-tool/pull/458
14
15
15
16
### Removed
Original file line number Diff line number Diff line change @@ -364,7 +364,7 @@ def main():
364
364
try :
365
365
# Note: Ensures that empty arguments are not passed to the create_template function
366
366
create_template (** kwargs_from_parsed_args (args ))
367
- except ( OSError , IOError ) as e :
367
+ except OSError as e :
368
368
print (str (e ))
369
369
return
370
370
elif args .subparser_name == "flatten" :
Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ def read_sheets(self):
731
731
for sheet in self .exclude_sheets or []:
732
732
self .sheet_names_map .pop (sheet , None )
733
733
734
- sheet_names = list (sheet for sheet in self .sheet_names_map .keys ())
734
+ sheet_names = list (self .sheet_names_map .keys ())
735
735
self .sub_sheet_names = sheet_names
736
736
self .configure_sheets ()
737
737
You can’t perform that action at this time.
0 commit comments