I have the following piece of code:
self.ignore_dir_extensions = ['xcodeproj']
item = repr(extension.split('/')[0])
print "String: " + item
if item in self.ignore_dir_extensions:
print "Available: " + item
Let's say I have this output:
String: 'xcodeproj'
Expected output:
String: 'xcodeproj'
Available: 'xcodeproj'
Could anyone help me out here?