Skip to content

Commit bfa4f29

Browse files
authored
Merge pull request #62 from tyll/lgtm.yml
Specify Python 2 for LGTM
2 parents 378239c + d15d14f commit bfa4f29

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.lgtm.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
extraction:
3+
python:
4+
python_setup:
5+
version: 2

library/blivet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class BlivetAnsibleError(Exception):
122122
pass
123123

124124

125-
class BlivetVolume:
125+
class BlivetVolume(object):
126126
def __init__(self, blivet_obj, volume, bpool=None):
127127
self._blivet = blivet_obj
128128
self._volume = volume
@@ -346,7 +346,7 @@ def _get_blivet_volume(blivet_obj, volume, bpool=None):
346346
return _BLIVET_VOLUME_TYPES[volume_type](blivet_obj, volume, bpool=bpool)
347347

348348

349-
class BlivetPool:
349+
class BlivetPool(object):
350350
def __init__(self, blivet_obj, pool):
351351
self._blivet = blivet_obj
352352
self._pool = pool

0 commit comments

Comments
 (0)