diff --git a/sdt/bin/sdconfig.py b/sdt/bin/sdconfig.py index bee6c53f..89c345df 100755 --- a/sdt/bin/sdconfig.py +++ b/sdt/bin/sdconfig.py @@ -137,34 +137,6 @@ def is_event_enabled(event,project): else: sys.exit('Warning: Environment not set up for synda to operate properly. Exiting.') - - # commented on 08/08 to be replaced -""" if os.environ.get('SDT_USER_ENV','0')=='1': - # Being here means we use machine-wide synda environment as non-admin synda user, - # and so can only perform RO task (eg synda search, synda get, etc..) - # Also it means we are not in daemon mode (daemon mode is currently only - # available for admin-user. see TAG43J2K253J43 for more infos.) - - # Non fully working as multi-daemon support not implemented yet. But works for - # basic command (eg 'synda get') - print('Daemon mode is inaccessible from this installation. ' - 'Please report to devs in case you think this is an error.') - user_paths.create_tree() - paths=user_paths - elif not os.path.isfile(os.path.join('ST_HOME', 'sdt.conf')): - print('Installation from scratch...') - from sdsetuputils import PostInstallCommand - - pic = PostInstallCommand() - pic.run() - paths=install_paths - else: - # being here means synda application can only be used by root or admin (admin means being in the synda group) - print('here') - print(os.path.isfile(os.path.join('ST_HOME','sdt.conf'))) - sdtools.print_stderr(sdi18n.m0028) - sys.exit(1) -""" #hack paths=install_paths diff --git a/sdt/bin/sdconst.py b/sdt/bin/sdconst.py index a642cf81..bc1d5be1 100755 --- a/sdt/bin/sdconst.py +++ b/sdt/bin/sdconst.py @@ -221,7 +221,7 @@ SECURITY_DIR_MIXED='mixed' #Synda release parameters -SYNDA_VERSION = '3.11' +SYNDA_VERSION = '3.13' # miscellaneous GET_FILES_CACHING = True # change to False to disable caching logic in sdfiledao.get_files. diff --git a/sdt/bin/sdsqlutils.py b/sdt/bin/sdsqlutils.py index 1b140ee0..26454f40 100755 --- a/sdt/bin/sdsqlutils.py +++ b/sdt/bin/sdsqlutils.py @@ -85,7 +85,6 @@ def get_dict(instance,keys): d[k]=instance.__dict__[k] else: try: - print('here') d['timestamp'] = instance.__dict__['_timestamp'] except AttributeError as ae: print('FAILED')