-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed unnecessary deprecated flag 'U' in open See merge request dlr-pa/pfu!12
- Loading branch information
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
""" | ||
:Author: Daniel Mohr | ||
:Email: [email protected] | ||
:Date: 2023-04-20 | ||
:Date: 2023-04-23 | ||
:License: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007. | ||
""" | ||
|
||
|
@@ -249,7 +249,7 @@ def run(self): | |
|
||
setuptools.setup( | ||
name='pfu', | ||
version='2023.04.20', | ||
version='2023.04.23', | ||
cmdclass={ | ||
'check_modules': CheckModules, | ||
'run_unittest': TestWithUnittest, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
""" | ||
Author: Daniel Mohr. | ||
Date: 2017-03-07, 2021-05-25 (last change). | ||
Date: 2017-03-07, 2021-05-25, 2023-04-25 (last change). | ||
License: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007. | ||
""" | ||
|
@@ -23,7 +23,7 @@ class CheckChecksumsClass(): | |
""" | ||
:Author: Daniel Mohr | ||
:Email: [email protected] | ||
:Date: 2017-03-07, 2021-05-25 (last change). | ||
:Date: 2017-03-07, 2021-05-25, 2023-04-25 (last change). | ||
:License: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007. | ||
class to check checksums in directory or directories | ||
|
@@ -341,7 +341,7 @@ def read_hash_file(self, hashfilename): | |
""" | ||
:Author: Daniel Mohr | ||
:Email: [email protected] | ||
:Date: 2017-02-25 (last change). | ||
:Date: 2017-02-25, 2023-04-25 (last change). | ||
:License: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007. | ||
read hash file | ||
|
@@ -351,7 +351,7 @@ def read_hash_file(self, hashfilename): | |
if (os.path.isfile(hashfilename) and | ||
os.access(hashfilename, os.R_OK)): | ||
self.log.debug("read hash file \"%s\"", hashfilename) | ||
with open(hashfilename, mode='rU', encoding='utf-8') as hash_file: | ||
with open(hashfilename, mode='r', encoding='utf-8') as hash_file: | ||
for line in hash_file: | ||
sres = self.regexps[0].search(line) | ||
if sres: # hash of a chunk | ||
|