q2rad 0.1.212__tar.gz → 0.1.213__tar.gz
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 q2rad might be problematic. Click here for more details.
- {q2rad-0.1.212 → q2rad-0.1.213}/PKG-INFO +1 -1
- {q2rad-0.1.212 → q2rad-0.1.213}/pyproject.toml +1 -1
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2appmanager.py +5 -1
- q2rad-0.1.213/q2rad/version.py +1 -0
- q2rad-0.1.212/q2rad/version.py +0 -1
- {q2rad-0.1.212 → q2rad-0.1.213}/LICENSE +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/README.md +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/__init__.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/__main__.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2actions.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2appselector.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2constants.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2forms.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2lines.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2make.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2market.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2modules.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2packages.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2queries.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2rad.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2raddb.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2reports.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2stylesettings.py +0 -0
- {q2rad-0.1.212 → q2rad-0.1.213}/q2rad/q2utils.py +0 -0
|
@@ -446,13 +446,14 @@ class AppManager(Q2Form):
|
|
|
446
446
|
db_tables = db.get_tables()
|
|
447
447
|
wait_table = Q2WaitShow(len(data))
|
|
448
448
|
errors = []
|
|
449
|
+
db.transaction()
|
|
449
450
|
for table in data:
|
|
450
451
|
wait_table.step(table)
|
|
451
452
|
if table not in db_tables:
|
|
452
453
|
continue
|
|
453
454
|
wait_row = Q2WaitShow(len(data[table]))
|
|
454
455
|
if table != "packages":
|
|
455
|
-
db.cursor(f'delete from `{table}` where name
|
|
456
|
+
db.cursor(f'delete from `{table}` where substr(name,1,1) <> "_"')
|
|
456
457
|
if db.last_sql_error:
|
|
457
458
|
errors.append(db.last_sql_error)
|
|
458
459
|
for row in data[table]:
|
|
@@ -469,6 +470,7 @@ class AppManager(Q2Form):
|
|
|
469
470
|
errors.append(db.last_sql_error)
|
|
470
471
|
errors.append(db.last_record)
|
|
471
472
|
wait_row.close()
|
|
473
|
+
db.commit()
|
|
472
474
|
wait_table.close()
|
|
473
475
|
if errors:
|
|
474
476
|
q2Mess("<br>".join(errors))
|
|
@@ -491,6 +493,7 @@ class AppManager(Q2Form):
|
|
|
491
493
|
db: Q2Db = q2app.q2_app.db_data
|
|
492
494
|
db_tables = db.get_tables()
|
|
493
495
|
wait_table = Q2WaitShow(len(data))
|
|
496
|
+
db.transaction()
|
|
494
497
|
errors = []
|
|
495
498
|
for table in data:
|
|
496
499
|
wait_table.step(table)
|
|
@@ -506,6 +509,7 @@ class AppManager(Q2Form):
|
|
|
506
509
|
errors.append(db.last_sql_error)
|
|
507
510
|
# print(db.last_sql_error)
|
|
508
511
|
wait_row.close()
|
|
512
|
+
db.commit()
|
|
509
513
|
wait_table.close()
|
|
510
514
|
if errors:
|
|
511
515
|
q2Mess("<br>".join(errors))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.213"
|
q2rad-0.1.212/q2rad/version.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.212"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|