Subversion Repositories basico

Compare Revisions

Ignore whitespace Rev 126 → Rev 127

/branches/BR-0.3/basico/callbacks.py
556,7 → 556,7
dlbag = {}
 
# FIXME: max_workers = 1 = Threads disabled
with Executor(max_workers=1) as exe:
with Executor(max_workers=2) as exe:
jobs = []
for sapnote in bag:
job = exe.submit(self.sap.fetch, sapnote)
566,7 → 566,7
rc, sapnote = job.result()
self.log.debug("\tRC SAP Note %s: %s" % (sapnote, rc))
resnotes[sapnote] = rc
time.sleep(0.1)
time.sleep(0.2)
 
driver.close()
self.sap.stop_fetching()
/branches/BR-0.3/basico/env.py
28,16 → 28,21
LPATH['ROOT'] = USER_DIR + SEP + '.basico' + SEP
LPATH['ETC'] = LPATH['ROOT'] + 'etc' + SEP
LPATH['VAR'] = LPATH['ROOT'] + 'var' + SEP
LPATH['CACHE'] = LPATH['VAR'] + 'cache' + SEP
LPATH['PLUGINS'] = LPATH['VAR'] + 'plugins' + SEP
LPATH['LOG'] = LPATH['VAR'] + 'logs' + SEP
LPATH['TMP'] = LPATH['VAR'] + 'tmp' + SEP
LPATH['DB'] = LPATH['VAR'] + 'db' + SEP
LPATH['ANNOTATIONS'] = LPATH['DB'] + 'annotations' + SEP
LPATH['RESOURCES'] = LPATH['DB'] + 'resources' + SEP
LPATH['WWW'] = LPATH['VAR'] + 'www' + SEP
LPATH['EXPORT'] = LPATH['VAR'] + 'export' + SEP
LPATH['BACKUP'] = LPATH['EXPORT'] + 'backup' + SEP
LPATH['PDF'] = LPATH['EXPORT'] + 'pdf' + SEP
LPATH['OPT'] = LPATH['ROOT'] + 'opt' + SEP
LPATH['DRIVERS'] = LPATH['OPT'] + 'webdrivers' + SEP
LPATH['RES'] = LPATH['ROOT'] + 'res' + SEP
 
 
# Global paths
GPATH = {}
GPATH['ROOT'] = ROOT
/branches/BR-0.3/install_basico_linux.sh
1,3 → 1,10
sudo rm -rf /usr/lib/python3.4/site-packages/basico-*
sudo rm -rf /usr/lib/python3.5/site-packages/basico-*
sudo rm -rf /usr/lib/python3.6/site-packages/basico-*
sudo rm -rf /usr/lib/python3.7/site-packages/basico-*
sudo rm -rf /usr/local/lib/python3.4/dist-packages/basico-*
sudo rm -rf /usr/local/lib/python3.5/dist-packages/basico-*
sudo rm -rf /usr/local/lib/python3.6/dist-packages/basico-*
sudo rm -rf /usr/local/lib/python3.7/dist-packages/basico-*
sudo python3 setup.py install