tradedangerous 10.16.5__py3-none-any.whl → 10.16.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tradedangerous might be problematic. Click here for more details.

@@ -154,9 +154,11 @@ class ImportPlugin(plugins.ImportPluginBase):
154
154
  station.id, commodity.id, ).fetchone()
155
155
  modified = parse_ts(result[0]) if result else None
156
156
  if modified and commodity.modified <= modified:
157
- if self.tdenv.detail > 2:
158
- self.print(f' | {commodity.name:50s} | Skipping older commodity data')
159
- continue
157
+ # All commodities in a station will have the same modified time,
158
+ # so no need to check the rest if the fist is older.
159
+ if self.tdenv.detail:
160
+ self.print(f' | {fq_station_name:50s} | Skipping older commodity data')
161
+ break
160
162
  items.append((station.id, commodity.id, commodity.modified,
161
163
  commodity.sell, commodity.demand, -1,
162
164
  commodity.buy, commodity.supply, -1, 0))
@@ -191,15 +193,17 @@ class ImportPlugin(plugins.ImportPluginBase):
191
193
  # modified=commodity.modified,
192
194
  # ))
193
195
  # commodity_count += 1
194
- station_count += 1
195
- system_count += 1
196
- total_station_count += station_count
197
- total_commodity_count += commodity_count
198
- if self.tdenv.detail:
199
- self.print(
200
- f'{system_count:6d} | {system.name.upper():50s} | '
201
- f'{station_count:3d} st {commodity_count:6d} co'
202
- )
196
+ if commodity_count:
197
+ station_count += 1
198
+ if station_count:
199
+ system_count += 1
200
+ total_station_count += station_count
201
+ total_commodity_count += commodity_count
202
+ if self.tdenv.detail:
203
+ self.print(
204
+ f'{system_count:6d} | {system.name.upper():50s} | '
205
+ f'{station_count:3d} st {commodity_count:6d} co'
206
+ )
203
207
  # self.execute('COMMIT')
204
208
  # if self.need_commit:
205
209
  # self.execute('COMMIT')
tradedangerous/version.py CHANGED
@@ -12,5 +12,5 @@
12
12
  """just keeper of current version"""
13
13
 
14
14
  # TODO: remember to update tests when version changes
15
- __version__ = '10.16.5'
15
+ __version__ = '10.16.6'
16
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tradedangerous
3
- Version: 10.16.5
3
+ Version: 10.16.6
4
4
  Summary: Trade-Dangerous is a set of powerful trading tools for Elite Dangerous, organized around one of the most powerful trade run optimizers available.
5
5
  Home-page: https://github.com/eyeonus/Trade-Dangerous
6
6
  Author: eyeonus
@@ -21,7 +21,7 @@ tradedangerous/tradeexcept.py,sha256=aZ-Y31MbkjF7lmAzBAbaMsPPE7FEEfuf4gaX2GvriDk
21
21
  tradedangerous/tradegui.py,sha256=JbGFnsWupgesk6hrcUgKSdD9NNDyo0U9gh6m3DccAwU,782
22
22
  tradedangerous/transfers.py,sha256=NmXXk2aF88YkAvYqc9Syt_aO6d2jJjC-OxoRFoOyQH4,9923
23
23
  tradedangerous/utils.py,sha256=PUPvAEqUyxYGqqQa0b_yfLAvq8YVUxK6HfdS-CxM-Lo,5186
24
- tradedangerous/version.py,sha256=sQh4u9prPaBYuj_06ckAx_U_4KlIAU8RW8YtykXe2M8,647
24
+ tradedangerous/version.py,sha256=5s268cPYzpwQ4v3OZauXXP9_buUYL3VALOWd0TzfSaI,647
25
25
  tradedangerous/commands/TEMPLATE.py,sha256=7oXL124aqxGHwnb0h9yRylUiwc6M5QrRrGVrubwI1gg,2124
26
26
  tradedangerous/commands/__init__.py,sha256=6B0WuqkFBOll5Hj67yKDAnhmyr5ZAnHc6nzUNEUh384,9640
27
27
  tradedangerous/commands/buildcache_cmd.py,sha256=oJvP06fA8svnHrfrpWkHKR16cba8GIhHdMOyZqds18Y,2332
@@ -66,14 +66,14 @@ tradedangerous/plugins/eddblink_plug.py,sha256=CaczfCLKyRNbGh3xecBI0qLp0dz-xpnZ2
66
66
  tradedangerous/plugins/edmc_batch_plug.py,sha256=3Ptr-SZqaZFR8ViIIrp9Ak7rvfU3zl11AZYBhIceN7s,4224
67
67
  tradedangerous/plugins/journal_plug.py,sha256=K1oIeI7E3mb04fvYLXyoAh7fOTyM9NBelibTI88MIDQ,23696
68
68
  tradedangerous/plugins/netlog_plug.py,sha256=Gw_HSZWpN17D--OIYEM3Vo8y9SvDOv9UwAUfY24kz28,13460
69
- tradedangerous/plugins/spansh_plug.py,sha256=5-C431UsscuwT-IQ6Cd_2HV3SqSv9X_VGRX_uhe4Ly0,21529
69
+ tradedangerous/plugins/spansh_plug.py,sha256=FSdmBAxpLxud2tmEvY3zhCPXwMRi66DCb0HYhC_up2w,21807
70
70
  tradedangerous/templates/Added.csv,sha256=8o54civQCcS9y7_DBo0GX196XWRbbREQqKDYTKibsgQ,649
71
71
  tradedangerous/templates/Category.csv,sha256=8xwUDcBZE25T6x6dZGlRUMTCqeDLt3a9LXU5h6hRHV8,250
72
72
  tradedangerous/templates/RareItem.csv,sha256=F1RhRnTD82PiwrVUO-ai2ErGH2PTqNnQaDw5mcgljXs,10483
73
73
  tradedangerous/templates/TradeDangerous.sql,sha256=kHZ7JBSY5lh2DnqayAxoO-apvXKB510SqhAzkT21YHY,8138
74
- tradedangerous-10.16.5.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
75
- tradedangerous-10.16.5.dist-info/METADATA,sha256=RA4JVWEmSFk1Bxt4LKRbj5_wKLnFqZErE37KqjiD5M4,4421
76
- tradedangerous-10.16.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
77
- tradedangerous-10.16.5.dist-info/entry_points.txt,sha256=pSwa-q0ob443uiKux7xFKYQl8uen66iDTnjdrQhNLx8,92
78
- tradedangerous-10.16.5.dist-info/top_level.txt,sha256=bF29i-oEltmNICgElEKxNsg83oahJvxg3a7YrxZi9Rk,15
79
- tradedangerous-10.16.5.dist-info/RECORD,,
74
+ tradedangerous-10.16.6.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
75
+ tradedangerous-10.16.6.dist-info/METADATA,sha256=PCMBreEgsWuXi1Q23vgORjlqifTXV40s2mn4L4szbzw,4421
76
+ tradedangerous-10.16.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
77
+ tradedangerous-10.16.6.dist-info/entry_points.txt,sha256=pSwa-q0ob443uiKux7xFKYQl8uen66iDTnjdrQhNLx8,92
78
+ tradedangerous-10.16.6.dist-info/top_level.txt,sha256=bF29i-oEltmNICgElEKxNsg83oahJvxg3a7YrxZi9Rk,15
79
+ tradedangerous-10.16.6.dist-info/RECORD,,