Error message for "path doesn't exist" when loading up script environment
now displays the absolute path. Pull request courtesy Rowan Hart.
Fixes: #663
Closes: #664
Pull-request: https://github.com/sqlalchemy/alembic/pull/664
Pull-request-sha:
29ff74c2678ab73f6c5a646477c840f5cdded234
Change-Id: Ibaa8ad444560e481ba96e0c0e3ba31ec7c7c1385
raise util.CommandError(
"Path doesn't exist: %r. Please use "
"the 'init' command to create a new "
- "scripts folder." % dir
+ "scripts folder." % os.path.abspath(dir)
)
@property
--- /dev/null
+.. change::
+ :tags: bug, environment
+ :tickets: 663
+
+ Error message for "path doesn't exist" when loading up script environment
+ now displays the absolute path. Pull request courtesy Rowan Hart.