You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by mc...@apache.org on 2014/01/31 21:44:37 UTC

git commit: Fix whitespace glitches I missed in review.

Updated Branches:
  refs/heads/master 4abccc3c0 -> 01eda7531


Fix whitespace glitches I missed in review.

Fix whitespace glitches.

Reviewed at https://reviews.apache.org/r/17614/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/01eda753
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/01eda753
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/01eda753

Branch: refs/heads/master
Commit: 01eda7531cd1ef8cc36b7be0b7018b22f47ea6ae
Parents: 4abccc3
Author: Mark Chu-Carroll <mc...@twopensource.com>
Authored: Fri Jan 31 15:44:19 2014 -0500
Committer: Mark Chu-Carroll <mc...@twitter.com>
Committed: Fri Jan 31 15:44:19 2014 -0500

----------------------------------------------------------------------
 src/main/python/apache/aurora/client/commands/admin.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/01eda753/src/main/python/apache/aurora/client/commands/admin.py
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/client/commands/admin.py b/src/main/python/apache/aurora/client/commands/admin.py
index d8b9a44..96f7f70 100644
--- a/src/main/python/apache/aurora/client/commands/admin.py
+++ b/src/main/python/apache/aurora/client/commands/admin.py
@@ -168,10 +168,10 @@ def set_quota(cluster, role, cpu_str, ram, disk):
   Alters the amount of production quota allocated to a user.
   """
   try:
-      ram_size = parse_data(ram).as_(Data.MB)
-      disk_size = parse_data(disk).as_(Data.MB)
+    ram_size = parse_data(ram).as_(Data.MB)
+    disk_size = parse_data(disk).as_(Data.MB)
   except ValueError:
-      log.error('Invalid unit specification')
+    log.error('Invalid unit specification')
 
   try:
     cpu = float(cpu_str)