1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
From 2e84adb042bfb742eb328220b97f79ddb28db44b Mon Sep 17 00:00:00 2001
From: Haris Okanovic <haris.okanovic@ni.com>
Date: Tue, 23 Oct 2018 21:39:56 +0000
Subject: [PATCH] Import local modules by relative path for python3 support
Upstream-Status: Submitted
---
pyconnman/agent.py | 2 +-
pyconnman/interface.py | 2 +-
pyconnman/manager.py | 2 +-
pyconnman/service.py | 2 +-
pyconnman/technology.py | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pyconnman/agent.py b/pyconnman/agent.py
index f72de8d..453d783 100644
--- a/pyconnman/agent.py
+++ b/pyconnman/agent.py
@@ -1,5 +1,5 @@
from __future__ import unicode_literals
-from exceptions import ConnCanceledException
+from .exceptions import ConnCanceledException
import dbus.service
diff --git a/pyconnman/interface.py b/pyconnman/interface.py
index 7d82e04..d540c81 100644
--- a/pyconnman/interface.py
+++ b/pyconnman/interface.py
@@ -4,7 +4,7 @@ import dbus
import types
import pprint
-from exceptions import ConnSignalNameNotRecognisedException
+from .exceptions import ConnSignalNameNotRecognisedException
def translate_to_dbus_type(typeof, value):
diff --git a/pyconnman/manager.py b/pyconnman/manager.py
index f6f40a8..03244cc 100644
--- a/pyconnman/manager.py
+++ b/pyconnman/manager.py
@@ -1,6 +1,6 @@
from __future__ import unicode_literals
-from interface import ConnInterface
+from .interface import ConnInterface
class ConnManager(ConnInterface):
diff --git a/pyconnman/service.py b/pyconnman/service.py
index bbccced..c6b9241 100644
--- a/pyconnman/service.py
+++ b/pyconnman/service.py
@@ -1,6 +1,6 @@
from __future__ import unicode_literals
-from interface import ConnInterface
+from .interface import ConnInterface
class ConnService(ConnInterface):
diff --git a/pyconnman/technology.py b/pyconnman/technology.py
index 4777229..d25bad6 100644
--- a/pyconnman/technology.py
+++ b/pyconnman/technology.py
@@ -1,6 +1,6 @@
from __future__ import unicode_literals
-from interface import ConnInterface
+from .interface import ConnInterface
class ConnTechnology(ConnInterface):
|