Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3586)

Unified Diff: autoupdate.py

Issue 6066012: Fix the noupdate XML. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/dev-util.git@master
Patch Set: more whitespace removal Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: autoupdate.py
diff --git a/autoupdate.py b/autoupdate.py
index 30f3b625e0b6e9cc2cbd284e25a19b1f7ffd670b..c2ee6cb002d9a20ae1eac057f0862b0b0b3f181e 100644
--- a/autoupdate.py
+++ b/autoupdate.py
@@ -208,14 +208,14 @@ class Autoupdate(BuildObject):
def GetNoUpdatePayload(self):
"""Returns a payload to the client corresponding to no update."""
- payload = """ < ?xml version = "1.0" encoding = "UTF-8"? >
- < gupdate xmlns = "http://www.google.com/update2/response" protocol = "2.0" >
- < daystart elapsed_seconds = "%s" />
- < app appid = "{%s}" status = "ok" >
- < ping status = "ok" />
- < updatecheck status = "noupdate" />
- </ app >
- </ gupdate >
+ payload = """<?xml version="1.0" encoding="UTF-8"?>
+ <gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
+ <daystart elapsed_seconds="%s"/>
+ <app appid="{%s}" status="ok">
+ <ping status="ok"/>
+ <updatecheck status="noupdate"/>
+ </app>
+ </gupdate>
"""
return payload % (self._GetSecondsSinceMidnight(), self.app_id)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698