~jfb-tempo-consulting/unifield-wm/sync-env-py3

« back to all changes in this revision

Viewing changes to run_last_sync.py

  • Committer: jf
  • Date: 2022-02-01 10:24:52 UTC
  • mfrom: (173.1.1 sync-env)
  • Revision ID: jfb@tempo-consulting.fr-20220201102452-rndr3uvmo030kqlf
[MERGE] US-9423: instance registration: do not validate an instance with no group on the sync server

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
                },
57
57
            )
58
58
            db.connect('admin')
59
 
            print("Syncing %s ..." % db.db_name)
 
59
            print "Syncing %s ..." % db.db_name
60
60
            db_creation.sync(db)
61
61
    else:
62
62
        for tc in test_cases:
64
64
                try:
65
65
                    tc.setUpClass()
66
66
                    tc.db.connect('admin')
67
 
                    print("Syncing %s ..." % tc.db.db_name)
 
67
                    print "Syncing %s ..." % tc.db.db_name
68
68
                    tc.sync()
69
 
                except Exception as e:
70
 
                    print("Error", tc.db.db_name, e)
 
69
                except Exception, e:
 
70
                    print "Error", tc.db.db_name, e
71
71