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:
parent
4f618c4519
commit
60c57319a0
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -17,7 +17,7 @@ import contextlib
|
|||
import functools
|
||||
import time
|
||||
|
||||
from metricbase import MetricBase
|
||||
from monascastatsd.metricbase import MetricBase
|
||||
|
||||
|
||||
class Timer(MetricBase):
|
||||
|
|
Loading…
Reference in New Issue