- if not self.table_exists ('records'):
- # this likely means we've just created the db, so it's either a fresh install
- # or we come from a 'very old' depl.
- # in either case, an import is required but there's nothing to clean up
- print >> sys.stderr,"%s: make sure to run import"%(DBSchema.header,)
- elif self.table_exists ('sfa_db_version'):
+ if not self.table_exists('records'):
+ # this likely means
+ # (.) we've just created the db, so it's either a fresh install, or
+ # (.) we come from a 'very old' depl.
+ # in either case, an import is required but there's nothing to
+ # clean up
+ print("%s: make sure to run import" %
+ (DBSchema.header,), file=sys.stderr)
+ elif self.table_exists('sfa_db_version'):