diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2016-04-04 10:16:06 -0400 |
---|---|---|
committer | Jeff Lane <jeffrey.lane@canonical.com> | 2016-04-04 10:16:06 -0400 |
commit | 397fd254534a86d64296cb0ee2ad09a141ea5fc4 (patch) | |
tree | 355cbe539820c9d7a201ec979c3ca4ff4b50bbb3 /bin | |
parent | eff3386a38cb02ea39c601d2ca936408c07fcda1 (diff) |
fixes PyGIWarning messages when running removable_stroage_watcher|test.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/removable_storage_test | 2 | ||||
-rwxr-xr-x | bin/removable_storage_watcher | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/removable_storage_test b/bin/removable_storage_test index 7377474..3502455 100755 --- a/bin/removable_storage_test +++ b/bin/removable_storage_test @@ -13,6 +13,8 @@ import sys import tempfile import time +import gi +gi.require_version('GUdev', '1.0') from gi.repository import GUdev from checkbox_support.dbus import connect_to_system_bus diff --git a/bin/removable_storage_watcher b/bin/removable_storage_watcher index 97fd071..794bb1b 100755 --- a/bin/removable_storage_watcher +++ b/bin/removable_storage_watcher @@ -7,6 +7,8 @@ import dbus import logging import sys +import gi +gi.require_version('GUdev', '1.0') from gi.repository import GObject, GUdev from checkbox_support.dbus import connect_to_system_bus |