Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 10, 2021. It is now read-only.

Commit 69d9e22

Browse filesBrowse files
author
Kenneth Reitz
committed
getting simpler and simpler!
1 parent d638b18 commit 69d9e22
Copy full SHA for 69d9e22

File tree

1 file changed

+0
-10
lines changed
Filter options

1 file changed

+0
-10
lines changed

‎bin/pip-diff

Copy file name to clipboardExpand all lines: bin/pip-diff
-10Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ import os
1414
from docopt import docopt
1515
from pip.req import parse_requirements
1616

17-
# TODO: ignore lines
18-
IGNORABLE_LINES = ('#', '-r')
19-
VERSION_OPERATORS = ('==', '>=', '<=', '>', '<', ',')
20-
21-
def split(s):
22-
for operator in VERSION_OPERATORS:
23-
s = s.replace(operator, '!')
24-
25-
return s.split('!')
26-
2717
class Requirements(object):
2818
def __init__(self, reqfile=None):
2919
super(Requirements, self).__init__()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.