ufload3 2.6__tar.gz → 2.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ufload3
3
- Version: 2.6
3
+ Version: 2.7
4
4
  Summary: UniField python3 loader
5
5
  Author: MSF
6
6
  Project-URL: Homepage, https://github.com/Unifield/ufload3
@@ -1,7 +1,7 @@
1
1
  from . import cloud; assert cloud
2
2
  from . import db; assert db
3
3
 
4
- __version__ = '2.6'
4
+ __version__ = '2.7'
5
5
 
6
6
  # null progress, can be overridden by importers
7
7
  def _progress(p):
@@ -923,6 +923,7 @@ def parse():
923
923
  def main():
924
924
  global args
925
925
  args = parse()
926
+ rc = 1
926
927
  if hasattr(args, "func"):
927
928
  try:
928
929
  rc = args.func(args)
@@ -406,6 +406,9 @@ def delive(args, db):
406
406
  rc = psql(args, 'alter table res_users ADD COLUMN IF NOT EXISTS user_email_prod_value varchar(240);', db)
407
407
  rc = psql(args, 'update res_users set user_email_prod_value=user_email;', db)
408
408
 
409
+ rc = psql(args, "update res_users set user_email = regexp_replace(user_email, '(.*)@(.*)', '\\1@invalid-\\2');", db)
410
+ rc = psql(args, "update email_configuration set smtp_password='', smtp_user='', smtp_server='invalid';", db)
411
+
409
412
  rc = psql(args, 'update sync_client_sync_server_connection set automatic_patching = \'f\', protocol = \'xmlrpc\', login = \'%s\', database = \'%s\', host = \'127.0.0.1\', port = %d;' % (adminuser, ss, port), db)
410
413
  if rc != 0:
411
414
  return rc
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ufload3
3
- Version: 2.6
3
+ Version: 2.7
4
4
  Summary: UniField python3 loader
5
5
  Author: MSF
6
6
  Project-URL: Homepage, https://github.com/Unifield/ufload3
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