Merge lp:~dobey/ubuntuone-storage-protocol/new-pep8 into lp:ubuntuone-storage-protocol

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 159
Merged at revision: 159
Proposed branch: lp:~dobey/ubuntuone-storage-protocol/new-pep8
Merge into: lp:ubuntuone-storage-protocol
Diff against target: 30 lines (+5/-5)
2 files modified
ubuntuone/storageprotocol/dircontent.py (+3/-3)
ubuntuone/storageprotocol/request.py (+2/-2)
To merge this branch: bzr merge lp:~dobey/ubuntuone-storage-protocol/new-pep8
Reviewer Review Type Date Requested Status
Mike McCracken (community) Approve
Review via email: mp+164956@code.launchpad.net

Commit message

Fix issues reported by pep8 1.4.4.

To post a comment you must log in.
Revision history for this message
Mike McCracken (mikemc) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ubuntuone/storageprotocol/dircontent.py'
--- ubuntuone/storageprotocol/dircontent.py 2012-03-29 20:28:09 +0000
+++ ubuntuone/storageprotocol/dircontent.py 2013-05-21 17:24:27 +0000
@@ -161,8 +161,8 @@
161 def __eq__(self, other):161 def __eq__(self, other):
162 if isinstance(other, DirEntry):162 if isinstance(other, DirEntry):
163 return self.name == other.name and \163 return self.name == other.name and \
164 self.utf8_name == other.utf8_name and \164 self.utf8_name == other.utf8_name and \
165 self.node_type == other.node_type and \165 self.node_type == other.node_type and \
166 self.uuid == other.uuid166 self.uuid == other.uuid
167 else:167 else:
168 return False168 return False
169169
=== modified file 'ubuntuone/storageprotocol/request.py'
--- ubuntuone/storageprotocol/request.py 2012-03-29 20:28:09 +0000
+++ ubuntuone/storageprotocol/request.py 2013-05-21 17:24:27 +0000
@@ -233,8 +233,8 @@
233 self.requests[message.id].error(e)233 self.requests[message.id].error(e)
234 else:234 else:
235 name = protocol_pb2.Message.DESCRIPTOR \235 name = protocol_pb2.Message.DESCRIPTOR \
236 .enum_types_by_name['MessageType'] \236 .enum_types_by_name['MessageType'] \
237 .values_by_number[message.type].name237 .values_by_number[message.type].name
238238
239 handler = getattr(self, "handle_" + name, None)239 handler = getattr(self, "handle_" + name, None)
240 if handler is not None:240 if handler is not None:

Subscribers

People subscribed via source and target branches