Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Seitosh
csback
Commits
8e5c3f29
Commit
8e5c3f29
authored
Jun 13, 2016
by
thomas.forbriger
Browse files
[FIX] (util): fix extraction of list of keys
They way a list of dictionary keys were extracted apparently was not correct
parent
369fccd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
util/csbusortdirlist.py
View file @
8e5c3f29
...
...
@@ -137,8 +137,8 @@ class Basetable():
os
.
write
(
"Data stream %s (type %s):
\n
"
%
(
self
.
collection
,
self
.
datatype
))
years
=
self
.
years
.
keys
()
channels
=
self
.
channels
.
keys
()
years
=
list
(
self
.
years
.
keys
()
)
channels
=
list
(
self
.
channels
.
keys
()
)
years
.
sort
()
channels
.
sort
()
...
...
@@ -317,7 +317,7 @@ def writeoutput(os, tables):
for
k
in
tables
.
keys
():
types
.
append
(
tables
[
k
].
datatype
)
keylist
=
tables
.
keys
()
keylist
=
list
(
tables
.
keys
()
)
keylist
.
sort
()
keylist
.
reverse
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment