summaryrefslogtreecommitdiff
path: root/dbus/gobject_service.py
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/gobject_service.py')
-rw-r--r--dbus/gobject_service.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/gobject_service.py b/dbus/gobject_service.py
index 85b72bb..1c96546 100644
--- a/dbus/gobject_service.py
+++ b/dbus/gobject_service.py
@@ -22,6 +22,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+import sys
from warnings import warn as _warn
_warn(DeprecationWarning("""\
dbus.gobject_service is deprecated, and is not available under Python 3.