Merge "Pep8/Pyflakes fixing"
This commit is contained in:
commit
66ae41756b
@ -14,7 +14,6 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from diskimage_builder.element_dependencies import main
|
from diskimage_builder.element_dependencies import main
|
||||||
|
@ -55,7 +55,7 @@ for arg in sys.argv[1:]:
|
|||||||
# source vs. packages. So, if the requested service file already exists,
|
# source vs. packages. So, if the requested service file already exists,
|
||||||
# just use that.
|
# just use that.
|
||||||
if os.path.exists('/usr/lib/systemd/system/%s.service' % arg):
|
if os.path.exists('/usr/lib/systemd/system/%s.service' % arg):
|
||||||
print arg
|
print(arg)
|
||||||
else:
|
else:
|
||||||
print(service_map.get(arg, arg))
|
print(service_map.get(arg, arg))
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user