diff options
| author | Monty Taylor <mordred@inaugust.com> | 2012-02-20 12:21:59 -0800 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2012-02-20 12:21:59 -0800 |
| commit | f86ec68be715073fbdcc6ef21f6053deea710289 (patch) | |
| tree | f67ec8347e00bd48305bc3b71b8e576fb6e25b5f /nova/virt | |
| parent | eab6a9fa761cb6631609366927fc02b0efe2555d (diff) | |
| download | nova-f86ec68be715073fbdcc6ef21f6053deea710289.tar.gz nova-f86ec68be715073fbdcc6ef21f6053deea710289.tar.xz nova-f86ec68be715073fbdcc6ef21f6053deea710289.zip | |
Stop ignoring E202.
There is absolutely no reason to ignore E202 in the pep8 checks.
Change-Id: I4abf767639dd94e9e8b7b4a405b4a702a554b876
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/disk/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/disk/api.py b/nova/virt/disk/api.py index 51e8f1907..42ad683a6 100644 --- a/nova/virt/disk/api.py +++ b/nova/virt/disk/api.py @@ -397,7 +397,7 @@ def _set_passwd(username, admin_passwd, passwd_file, shadow_file): 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' '0123456789./') # encryption algo - id pairs for crypt() - algos = {'SHA-512': '$6$', 'SHA-256': '$5$', 'MD5': '$1$', 'DES': '' } + algos = {'SHA-512': '$6$', 'SHA-256': '$5$', 'MD5': '$1$', 'DES': ''} salt = 16 * ' ' salt = ''.join([random.choice(salt_set) for c in salt]) |
