Dolda2000 GitWeb
/
tpkg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93be960
)
Fix minor comparison weirdness.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 19 Jan 2023 16:46:01 +0000
(17:46 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 19 Jan 2023 16:46:01 +0000
(17:46 +0100)
tpkg
patch
|
blob
|
blame
|
history
diff --git
a/tpkg
b/tpkg
index
34c8ff3
..
a9b3024
100755
(executable)
--- a/
tpkg
+++ b/
tpkg
@@
-217,7
+217,7
@@
class vfspkg(object):
def __iter__(self):
def scan(lp, fp):
- dpre = "" if (lp
is
"") else lp + "/"
+ dpre = "" if (lp
==
"") else lp + "/"
for dent in os.scandir(fp):
dpath = dpre + dent.name
if dent.is_dir():