Commits

ryanpetrello committed cbba213

Fix a path comparison bug that doesn't respect relative paths and soft links.

  • Participants
  • Parent commits de92a11
  • Branches Python 3 support

Comments (0)

Files changed (1)

 #     package information as well.
 script_folder = os.path.abspath(os.path.dirname(__file__))
 current_folder = os.path.abspath(os.getcwd())
-if script_folder != current_folder:
+if not os.path.samefile(script_folder, current_folder):
     print("ERROR: Suds library setup script needs to be run from the folder "
         "containing it.")
     print()