|
| 1 | +# Comparing `tmp/pandalibs-0.1.3.tar.gz` & `tmp/pandalibs-0.1.6.tar.gz` |
| 2 | + |
| 3 | +## filetype from file(1) |
| 4 | + |
| 5 | +```diff |
| 6 | +@@ -1 +1 @@ |
| 7 | +-gzip compressed data, was "pandalibs-0.1.3.tar", last modified: Sun Apr 7 18:45:02 2024, max compression |
| 8 | ++gzip compressed data, was "pandalibs-0.1.6.tar", last modified: Sat May 25 21:42:40 2024, max compression |
| 9 | +``` |
| 10 | + |
| 11 | +## Comparing `pandalibs-0.1.3.tar` & `pandalibs-0.1.6.tar` |
| 12 | + |
| 13 | +### file list |
| 14 | + |
| 15 | +```diff |
| 16 | +@@ -1,15 +1,15 @@ |
| 17 | +-drwxrwxrwx 0 0 0 0 2024-04-07 18:45:02.633301 pandalibs-0.1.3/ |
| 18 | +--rw-rw-rw- 0 0 0 111 2024-04-07 18:45:02.633301 pandalibs-0.1.3/PKG-INFO |
| 19 | +--rw-rw-rw- 0 0 0 91 2024-04-07 14:31:37.000000 pandalibs-0.1.3/README.md |
| 20 | +-drwxrwxrwx 0 0 0 0 2024-04-07 18:45:02.629274 pandalibs-0.1.3/pandalibs/ |
| 21 | +--rw-rw-rw- 0 0 0 0 2024-04-07 14:00:56.000000 pandalibs-0.1.3/pandalibs/__init__.py |
| 22 | +--rw-rw-rw- 0 0 0 151 2024-04-07 17:47:23.000000 pandalibs-0.1.3/pandalibs/pprint_nosort.py |
| 23 | +--rw-rw-rw- 0 0 0 2274 2024-04-07 15:37:26.000000 pandalibs-0.1.3/pandalibs/yaml_importer.py |
| 24 | +-drwxrwxrwx 0 0 0 0 2024-04-07 18:45:02.632298 pandalibs-0.1.3/pandalibs.egg-info/ |
| 25 | +--rw-rw-rw- 0 0 0 111 2024-04-07 18:45:02.000000 pandalibs-0.1.3/pandalibs.egg-info/PKG-INFO |
| 26 | +--rw-rw-rw- 0 0 0 258 2024-04-07 18:45:02.000000 pandalibs-0.1.3/pandalibs.egg-info/SOURCES.txt |
| 27 | +--rw-rw-rw- 0 0 0 1 2024-04-07 18:45:02.000000 pandalibs-0.1.3/pandalibs.egg-info/dependency_links.txt |
| 28 | +--rw-rw-rw- 0 0 0 7 2024-04-07 18:45:02.000000 pandalibs-0.1.3/pandalibs.egg-info/requires.txt |
| 29 | +--rw-rw-rw- 0 0 0 10 2024-04-07 18:45:02.000000 pandalibs-0.1.3/pandalibs.egg-info/top_level.txt |
| 30 | +--rw-rw-rw- 0 0 0 42 2024-04-07 18:45:02.633301 pandalibs-0.1.3/setup.cfg |
| 31 | +--rw-rw-rw- 0 0 0 382 2024-04-07 17:47:58.000000 pandalibs-0.1.3/setup.py |
| 32 | ++drwxrwxrwx 0 0 0 0 2024-05-25 21:42:40.679463 pandalibs-0.1.6/ |
| 33 | ++-rw-rw-rw- 0 0 0 111 2024-05-25 21:42:40.679463 pandalibs-0.1.6/PKG-INFO |
| 34 | ++-rw-rw-rw- 0 0 0 91 2024-04-07 14:31:37.000000 pandalibs-0.1.6/README.md |
| 35 | ++drwxrwxrwx 0 0 0 0 2024-05-25 21:42:40.675462 pandalibs-0.1.6/pandalibs/ |
| 36 | ++-rw-rw-rw- 0 0 0 0 2024-04-07 14:00:56.000000 pandalibs-0.1.6/pandalibs/__init__.py |
| 37 | ++-rw-rw-rw- 0 0 0 151 2024-04-07 17:47:23.000000 pandalibs-0.1.6/pandalibs/pprint_nosort.py |
| 38 | ++-rw-rw-rw- 0 0 0 2463 2024-05-25 21:27:30.000000 pandalibs-0.1.6/pandalibs/yaml_importer.py |
| 39 | ++drwxrwxrwx 0 0 0 0 2024-05-25 21:42:40.678464 pandalibs-0.1.6/pandalibs.egg-info/ |
| 40 | ++-rw-rw-rw- 0 0 0 111 2024-05-25 21:42:40.000000 pandalibs-0.1.6/pandalibs.egg-info/PKG-INFO |
| 41 | ++-rw-rw-rw- 0 0 0 258 2024-05-25 21:42:40.000000 pandalibs-0.1.6/pandalibs.egg-info/SOURCES.txt |
| 42 | ++-rw-rw-rw- 0 0 0 1 2024-05-25 21:42:40.000000 pandalibs-0.1.6/pandalibs.egg-info/dependency_links.txt |
| 43 | ++-rw-rw-rw- 0 0 0 7 2024-05-25 21:42:40.000000 pandalibs-0.1.6/pandalibs.egg-info/requires.txt |
| 44 | ++-rw-rw-rw- 0 0 0 10 2024-05-25 21:42:40.000000 pandalibs-0.1.6/pandalibs.egg-info/top_level.txt |
| 45 | ++-rw-rw-rw- 0 0 0 42 2024-05-25 21:42:40.679463 pandalibs-0.1.6/setup.cfg |
| 46 | ++-rw-rw-rw- 0 0 0 720 2024-05-25 16:14:36.000000 pandalibs-0.1.6/setup.py |
| 47 | +``` |
| 48 | + |
| 49 | +### Comparing `pandalibs-0.1.3/pandalibs/yaml_importer.py` & `pandalibs-0.1.6/pandalibs/yaml_importer.py` |
| 50 | + |
| 51 | + * *Files 9% similar despite different names* |
| 52 | + |
| 53 | +```diff |
| 54 | +@@ -36,19 +36,23 @@ |
| 55 | + # Get configuration data as a dictionary |
| 56 | + def get_configuration_data(up_a_level=False, file_name=DEFAULT_CONFIG_FILE, subfolder="config"): |
| 57 | + """Load and convert configuration file into appropriate data. |
| 58 | + Accepts optional filename and subfolder, as well as option to go up a level. |
| 59 | + Defaults to config.yaml within config subfolder. |
| 60 | + """ |
| 61 | + try: |
| 62 | +- exe_dir = get_application_path(up_a_level) |
| 63 | +- if subfolder: |
| 64 | +- config_path = os.path.join(exe_dir, subfolder, file_name) |
| 65 | +- else: |
| 66 | +- config_path = os.path.join(exe_dir, file_name) |
| 67 | ++ # Get the current working directory (which should be the executable's directory) |
| 68 | ++ script_dir = os.getcwd() |
| 69 | ++ |
| 70 | ++ # If you need to go up a level, adjust the path accordingly |
| 71 | ++ if up_a_level: |
| 72 | ++ script_dir = os.path.dirname(script_dir) |
| 73 | ++ |
| 74 | ++ # Construct the complete path to the configuration file |
| 75 | ++ config_path = os.path.join(script_dir, subfolder, file_name) |
| 76 | + |
| 77 | + if not os.path.exists(config_path): |
| 78 | + raise ConfigurationError(f"Configuration file '{file_name}' not found at '{config_path}'") |
| 79 | + |
| 80 | + with open(config_path, "r") as f: |
| 81 | + userinfo = yaml.safe_load(f) |
| 82 | +``` |
| 83 | + |
0 commit comments