[Bug 752518] validate:launcher: Improvements for --media-paths option

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 17 00:33:09 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752518

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #307598|none                        |needs-work
             status|                            |

--- Comment #3 from Thibault Saunier <tsaunier at gnome.org> ---
Review of attachment 307598:
 --> (https://bugzilla.gnome.org/review?bug=752518&attachment=307598)

::: validate/launcher/apps/gstvalidate.py
@@ -670,3 +670,3 @@
                 for root, dirs, files in os.walk(path):
                     for f in files:
-                        fpath = os.path.join(path, root, f)
+                        fpath = os.path.join(os.getcwd(), path, root, f)

you should use os.path.abspath for that

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list