Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.db.atvskeystroke
Commits
d1180fec
Commit
d1180fec
authored
Jan 18, 2016
by
André Anjos
💬
Browse files
Fix Python 3 incompatibilities
parent
ed9d9152
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/db/atvskeystroke/create.py
View file @
d1180fec
...
...
@@ -84,7 +84,7 @@ def add_protocols(session, verbose):
# Add protocol purposes
for
key
in
range
(
len
(
protocolPurpose_list
)):
purpose
=
protocolPurpose_list
[
key
]
print
p
.
id
,
purpose
[
0
],
purpose
[
1
]
print
(
'%s %s %s'
%
(
p
.
id
,
purpose
[
0
],
purpose
[
1
]
))
pu
=
ProtocolPurpose
(
p
.
id
,
purpose
[
0
],
purpose
[
1
])
if
verbose
>
1
:
print
(
" Adding protocol purpose ('%s','%s')..."
%
(
purpose
[
0
],
purpose
[
1
]))
session
.
add
(
pu
)
...
...
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