Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.extension
Commits
d06b47e9
Commit
d06b47e9
authored
May 23, 2014
by
André Anjos
💬
Browse files
Fine tune requirement normalization behavior
parent
25ab00c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
xbob/extension/__init__.py
View file @
d06b47e9
...
...
@@ -155,8 +155,10 @@ def normalize_requirements(requirements):
leftovers
.
append
(
key
)
elif
len
(
value
)
==
1
:
leftovers
.
append
(
' '
.
join
((
key
,
value
[
0
][
0
],
value
[
0
][
1
])))
# TODO: solve conflicting requirements
else
:
# TODO: solve conflicting requirements
for
v
in
value
:
leftovers
.
append
(
' '
.
join
((
key
,
v
[
0
][
0
],
v
[
0
][
1
])))
#keeping all
return
leftovers
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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