fix pep8/pylint

This commit is contained in:
Scott Moser 2012-10-23 06:18:24 -04:00
parent fa1f9bf766
commit 9206e9f239
3 changed files with 5 additions and 5 deletions

View File

@ -424,7 +424,7 @@ def _normalize_groups(grp_cfg):
# configuration.
#
# The output is a dictionary of user
# names => user config which is the standard
# names => user config which is the standard
# form used in the rest of cloud-init. Note
# the default user will have a special config
# entry 'default' which will be marked as true

View File

@ -6,11 +6,10 @@ import os.path
import mocker
from mocker import MockerTestCase
from cloudinit.sources import DataSourceConfigDrive as ds
from cloudinit import settings
from cloudinit import util
from cloudinit import helpers
from cloudinit import settings
from cloudinit.sources import DataSourceConfigDrive as ds
from cloudinit import util
PUBKEY = u'ssh-rsa AAAAB3NzaC1....sIkJhq8wdX+4I3A4cYbYP ubuntu@server-460\n'

View File

@ -14,6 +14,7 @@ bcfg = {
'groups': ["foo"]
}
class TestUGNormalize(MockerTestCase):
def _make_distro(self, dtype, def_user=None):