Make imports python 3 compatible

Changed the relative imports to absolute imports.

https://www.python.org/dev/peps/pep-0404/#imports

Change-Id: I8837b247537f5969725427fe616e4a8b86204b27
Closes-Bug: #1586985
This commit is contained in:
Laszlo Hegedus 2016-06-04 18:06:34 +02:00
parent 4f618c4519
commit 60c57319a0
6 changed files with 13 additions and 13 deletions

View File

@ -1,8 +1,8 @@
from client import Client
from connection import Connection
from counter import Counter
from gauge import Gauge
from histogram import Histogram
from metricbase import MetricBase
from set import Set
from timer import Timer
from monascastatsd.client import Client
from monascastatsd.connection import Connection
from monascastatsd.counter import Counter
from monascastatsd.gauge import Gauge
from monascastatsd.histogram import Histogram
from monascastatsd.metricbase import MetricBase
from monascastatsd.set import Set
from monascastatsd.timer import Timer

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from metricbase import MetricBase
from monascastatsd.metricbase import MetricBase
class Counter(MetricBase):

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from metricbase import MetricBase
from monascastatsd.metricbase import MetricBase
class Gauge(MetricBase):

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from metricbase import MetricBase
from monascastatsd.metricbase import MetricBase
class Histogram(MetricBase):

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from metricbase import MetricBase
from monascastatsd.metricbase import MetricBase
class Set(MetricBase):

View File

@ -17,7 +17,7 @@ import contextlib
import functools
import time
from metricbase import MetricBase
from monascastatsd.metricbase import MetricBase
class Timer(MetricBase):