diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-24 18:29:19 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-09-24 18:29:19 +0000 |
| commit | 2ae6e775712c12adb693178c6b5c104a64091e24 (patch) | |
| tree | 9709520c2ac99cea024305cfc9799024fd0be9b0 /dev-python/pytz-python2/files/2018.4-zoneinfo.patch | |
| parent | 61f09dac1e93ecda99dd048d4d59eee94691c7ec (diff) | |
| download | baldeagleos-repo-2ae6e775712c12adb693178c6b5c104a64091e24.tar.gz baldeagleos-repo-2ae6e775712c12adb693178c6b5c104a64091e24.tar.xz baldeagleos-repo-2ae6e775712c12adb693178c6b5c104a64091e24.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pytz-python2/files/2018.4-zoneinfo.patch')
| -rw-r--r-- | dev-python/pytz-python2/files/2018.4-zoneinfo.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/pytz-python2/files/2018.4-zoneinfo.patch b/dev-python/pytz-python2/files/2018.4-zoneinfo.patch new file mode 100644 index 000000000000..2eeeab416d7f --- /dev/null +++ b/dev-python/pytz-python2/files/2018.4-zoneinfo.patch @@ -0,0 +1,12 @@ +--- a/pytz/__init__.py ++++ b/pytz/__init__.py +@@ -91,8 +91,7 @@ + if zoneinfo_dir is not None: + filename = os.path.join(zoneinfo_dir, *name_parts) + else: +- filename = os.path.join(os.path.dirname(__file__), +- 'zoneinfo', *name_parts) ++ filename = os.path.join('/usr/share/zoneinfo', *name_parts) + if not os.path.exists(filename): + # http://bugs.launchpad.net/bugs/383171 - we avoid using this + # unless absolutely necessary to help when a broken version of |
