| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,7 +44,7 @@ def make_release_tree(self, base_dir: str, files: Sequence) -> None: | |||
| 44 | 44 | def _stamp_version(filename: str) -> None: | |
| 45 | 45 | found, out = False, [] | |
| 46 | 46 | try: | |
| 47 | - with open(filename, "r") as f: | ||
| 47 | + with open(filename) as f: | ||
| 48 | 48 | for line in f: | |
| 49 | 49 | if "__version__ =" in line: | |
| 50 | 50 | line = line.replace("\"git\"", "'%s'" % VERSION) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments