chmouel / upcs

Upload to OpenStack Swift with curl easily
62 stars 13 forks source link

SyntaxError on Arch Linux #4

Closed Alibloke closed 12 years ago

Alibloke commented 12 years ago

I've successfully used this script with ubuntu, but Arch Linux seems to be trickier. I get the following error when I run upcs: File "", line 1 import os,sys;print os.path.realpath(sys.argv[1]) ^ SyntaxError: invalid syntax

chmouel commented 12 years ago

weird what python version are you using?

Alibloke commented 12 years ago

D'oh, forgot Arch has an odd implementation of python. I needed to rename the script to use python2 instead of just python - works now ;)

chmouel commented 12 years ago

Well i guess it's still a bug, I am guessing Arch as python3 as default and upcs doesn't work with it..