Fix case insensitive

This commit is contained in:
Dimitris Zlatanidis 2015-09-24 05:19:15 +03:00
parent d42cbc50ff
commit 151d2aafcd
3 changed files with 0 additions and 6 deletions

View file

@ -148,8 +148,6 @@ class BinaryInstall(object):
for key, value in data_dict.iteritems(): for key, value in data_dict.iteritems():
if key == pkg.lower(): if key == pkg.lower():
self.packages[index] = value self.packages[index] = value
else:
self.packages[index] = pkg.lower()
def update_deps(self): def update_deps(self):
"""Update dependencies dictionary with all package """Update dependencies dictionary with all package

View file

@ -137,8 +137,6 @@ class SBoNetwork(object):
for key, value in data_dict.iteritems(): for key, value in data_dict.iteritems():
if key == self.name.lower(): if key == self.name.lower():
self.name = value self.name = value
else:
self.name = self.name.lower()
def read_choice(self): def read_choice(self):
"""Return choice """Return choice

View file

@ -154,8 +154,6 @@ class SBoInstall(object):
for key, value in data_dict.iteritems(): for key, value in data_dict.iteritems():
if key == name.lower(): if key == name.lower():
self.slackbuilds[index] = value self.slackbuilds[index] = value
else:
self.slackbuilds[index] = name.lower()
def update_deps(self): def update_deps(self):
"""Update dependencies dictionary with all package """Update dependencies dictionary with all package