aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2013-09-17 21:10:23 +0200
committerTheo Chatzimichos <tampakrap@gentoo.org>2013-09-17 21:10:23 +0200
commit4aaadaf89b6a328792b2edacaba48d41afff0372 (patch)
tree6624b416772937506284844fcb8ec52bbc80e047
parentSwitch to other ldapdb fork (diff)
downloadidentity.gentoo.org-4aaadaf89b6a328792b2edacaba48d41afff0372.tar.gz
identity.gentoo.org-4aaadaf89b6a328792b2edacaba48d41afff0372.tar.bz2
identity.gentoo.org-4aaadaf89b6a328792b2edacaba48d41afff0372.zip
Minor fix
-rwxr-xr-xsetup.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 5ccf736..e8a250a 100755
--- a/setup.py
+++ b/setup.py
@@ -15,9 +15,8 @@ with open('requirements/base.txt', 'r') as f:
base_deps = []
for line in f:
if line.startswith('git+') or line.startswith('hg+'):
- base_deps.append(line.split('#egg=')[1])
- else:
- base_deps.append(line.split('\n')[0])
+ line = line.split('#egg=')[1]
+ base_deps.append(line.replace('\n', ''))
setup(
name='okupy',