Skip to content

Commit

Permalink
Fix issue #1546
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Sep 7, 2013
1 parent fe9a3b9 commit 12d5021
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/shogun/base/class_list.cpp.py
Expand Up @@ -88,11 +88,7 @@ def get_includes(classes):

includes=[]
for o in result:
if sys.version_info > (3,):
tempstr = o.decode()
includes.append('#include "%s"' % tempstr.strip().lstrip('./'))
else:
includes.append('#include "%s"' % o.strip().lstrip('./'))
includes.append('#include "%s"' % o.strip().lstrip('./'))
return includes

def get_definitions(classes):
Expand Down

0 comments on commit 12d5021

Please sign in to comment.