summaryrefslogtreecommitdiffstats
path: root/remoting/tools
diff options
context:
space:
mode:
authorlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-06 09:58:51 +0000
committerlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-06 09:58:51 +0000
commit7234b8f3825e14da16f1ef67a6115d1268765a9c (patch)
tree9b4c687f5b35eef8eddf22c2bb18c10579aa05de /remoting/tools
parent479eb98d333031d85617ce0fd8bde0ac9861e074 (diff)
downloadchromium_src-7234b8f3825e14da16f1ef67a6115d1268765a9c.zip
chromium_src-7234b8f3825e14da16f1ef67a6115d1268765a9c.tar.gz
chromium_src-7234b8f3825e14da16f1ef67a6115d1268765a9c.tar.bz2
Remove host/auth config based on Linux Me2Me host exit codes.
The Linux Me2Me script wasn't reacting properly to certain exit codes from the Host process, because the Config object wasn't been marked as changed after keys were removed. BUG=179416 Review URL: https://chromiumcodereview.appspot.com/16484002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/tools')
-rwxr-xr-xremoting/tools/me2me_virtual_host.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/tools/me2me_virtual_host.py b/remoting/tools/me2me_virtual_host.py
index aacc12c..5eeb5e6 100755
--- a/remoting/tools/me2me_virtual_host.py
+++ b/remoting/tools/me2me_virtual_host.py
@@ -128,12 +128,14 @@ class Config:
def clear_auth(self):
del self.data["xmpp_login"]
del self.data["oauth_refresh_token"]
+ self.changed = True
def clear_host_info(self):
del self.data["host_id"]
del self.data["host_name"]
del self.data["host_secret_hash"]
del self.data["private_key"]
+ self.changed = True
class Authentication: