Merge "Pep8/Pyflakes fixing"

This commit is contained in:
Jenkins 2014-02-20 04:28:41 +00:00 committed by Gerrit Code Review
commit 66ae41756b
6 changed files with 59 additions and 60 deletions

View File

@ -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

View File

@ -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)