Skip to content

Commit

Permalink
Formatting improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfischer committed May 27, 2013
1 parent 14bc67d commit 662e85e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reqfileparser/parser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import re
import warnings


# Pip's pip/download.py:is_url() function doesn't check THAT closely
def is_uri(uri):
uri = uri.lower()
Expand Down Expand Up @@ -68,7 +69,7 @@ def parse(reqstr):
'(\[(?P<extras>[A-Za-z0-9\-\_]+)\])?'
'(?P<operator>==|>=|>|<=|<=)?'
'(?P<version>[A-Za-z0-9\.]+)?$', line, re.MULTILINE)

if match:
requirements.append(match.groupdict())
else:
Expand Down

0 comments on commit 662e85e

Please sign in to comment.