Merge "Pep8/Pyflakes fixing"
This commit is contained in:
commit
66ae41756b
@ -14,7 +14,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
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,
|
||||
# just use that.
|
||||
if os.path.exists('/usr/lib/systemd/system/%s.service' % arg):
|
||||
print arg
|
||||
print(arg)
|
||||
else:
|
||||
print(service_map.get(arg, arg))
|
||||
sys.exit(0)
|
||||
|
Loading…
Reference in New Issue
Block a user