I am new to nova, and wanted to fix a fairly trivial bug in order to understand the process.

Corrected some white space issues which pep8 found.

John
This commit is contained in:
John Dewey
2011-01-25 19:14:19 +00:00
committed by Tarmac
3 changed files with 4 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ Jay Pipes <jaypipes@gmail.com>
Jesse Andrews <anotherjesse@gmail.com>
Joe Heck <heckj@mac.com>
Joel Moore <joelbm24@gmail.com>
John Dewey <john@dewey.ws>
Jonathan Bryce <jbryce@jbryce.com>
Josh Durgin <joshd@hq.newdream.net>
Josh Kearney <josh.kearney@rackspace.com>

View File

@@ -74,10 +74,8 @@ class SpoolSentry(object):
return rv
def send_data(self, data):
data = {
'data': base64.b64encode(pickle.dumps(data).encode('zlib')),
'key': self.key
}
data = {'data': base64.b64encode(pickle.dumps(data).encode('zlib')),
'key': self.key}
req = urllib2.Request(self.sentry_url)
res = urllib2.urlopen(req, urllib.urlencode(data))
if res.getcode() != 200:

View File

@@ -256,7 +256,7 @@ class IptablesFirewallTestCase(test.TestCase):
':FORWARD ACCEPT [0:0]',
':OUTPUT ACCEPT [349256:75777230]',
'COMMIT',
'# Completed on Tue Jan 18 23:47:56 2011'
'# Completed on Tue Jan 18 23:47:56 2011',
]
def test_static_filters(self):