mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
thats not how it works
This commit is contained in:
parent
e69fea4a59
commit
db95e880b2
|
@ -463,11 +463,9 @@ class Up2k(object):
|
||||||
q = "select * from up where substr(w,1,16)=? and +rd=? and +fn=?"
|
q = "select * from up where substr(w,1,16)=? and +rd=? and +fn=?"
|
||||||
ups = []
|
ups = []
|
||||||
for wrf in wrfs:
|
for wrf in wrfs:
|
||||||
try:
|
up = cur.execute(q, wrf).fetchone()
|
||||||
# almost definitely exists; don't care if it doesn't
|
if up:
|
||||||
ups.append(cur.execute(q, wrf).fetchone())
|
ups.append(up)
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
# t1 = time.time()
|
# t1 = time.time()
|
||||||
# self.log("mapped {} warks in {:.3f} sec".format(len(wrfs), t1 - t0))
|
# self.log("mapped {} warks in {:.3f} sec".format(len(wrfs), t1 - t0))
|
||||||
|
@ -2332,7 +2330,7 @@ class Up2k(object):
|
||||||
if not n4g:
|
if not n4g:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
if cur:
|
if cur and not self.args.nw:
|
||||||
zs = "prel name lmod size ptop vtop wark host user addr at"
|
zs = "prel name lmod size ptop vtop wark host user addr at"
|
||||||
a = [job[x] for x in zs.split()]
|
a = [job[x] for x in zs.split()]
|
||||||
self.db_add(cur, vfs.flags, *a)
|
self.db_add(cur, vfs.flags, *a)
|
||||||
|
|
Loading…
Reference in a new issue