openshot.code team mailing list archive
-
openshot.code team
-
Mailing list archive
-
Message #00052
[Branch ~openshot.code/openshot/main] Rev 542: Fixed a regression with rev 505, which caused relative file path arguments to be added twice, due...
------------------------------------------------------------
revno: 542
committer: Jonathan Thomas <Jonathan.Oomph@xxxxxxxxx>
branch nick: openshot
timestamp: Fri 2011-09-02 00:52:28 -0500
message:
Fixed a regression with rev 505, which caused relative file path arguments to be added twice, due to the "queue" and "lock" file not checking for the ABS path.
modified:
openshot/classes/lock.py
--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main
Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/classes/lock.py'
--- openshot/classes/lock.py 2011-01-29 20:22:43 +0000
+++ openshot/classes/lock.py 2011-09-02 05:52:28 +0000
@@ -110,6 +110,11 @@
print "Adding files to the watch queue:"
for arg in sys.argv[1:]:
+ # a media file, add it to the project tree
+ # if the path isn't absolute, make it absolute
+ if not os.path.isabs(arg):
+ arg = os.path.abspath(arg)
+
# ignore OSP project files
if ".osp" not in arg:
# print the path of the media file