diff --git a/python-sqlalchemy-migrate.changes b/python-sqlalchemy-migrate.changes index 3d2924c..bdaef78 100644 --- a/python-sqlalchemy-migrate.changes +++ b/python-sqlalchemy-migrate.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Nov 30 18:27:26 UTC 2011 - jdmulloy@gmail.com +- Fixed shebang removal code on .spec line 52 +* This line was indiscriminately deleting the 1st line of all .py + and .py_tmpl file which caused it to delete things that were not + shebangs. This causes errors when it deletes things like """ + before a doc string. For instance executing + "from migrate import changeset" resulted in an + Unexpected Indentation Error + ------------------------------------------------------------------- Tue Nov 29 13:50:33 UTC 2011 - saschpe@suse.de diff --git a/python-sqlalchemy-migrate.spec b/python-sqlalchemy-migrate.spec index 196c53a..61a66b3 100644 --- a/python-sqlalchemy-migrate.spec +++ b/python-sqlalchemy-migrate.spec @@ -49,7 +49,8 @@ well as from inside python code. %prep %setup -q -n sqlalchemy-migrate-%{version} -find . -type f -name "*.py" -o -name "*.py_tmpl" | xargs sed -i "1d" # Fix non-executable scripts +find . -type f -name "*.py" -o -name "*.py_tmpl" | xargs sed -i "/#!/d" # Remove shebang from non-executable scripts + %build python setup.py build