Refactor devserver to print out relative paths to the update file

Change-Id: Idb98a1e2ff56716d1aadcfda6eb83108dff913f2

BUG=chromium-os:10723
TEST=Ran it with the full test harness -q

Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=d3de9ef

Review URL: http://codereview.chromium.org/6362008
diff --git a/devserver.py b/devserver.py
index dc670af..bf5e6d9 100755
--- a/devserver.py
+++ b/devserver.py
@@ -15,7 +15,7 @@
 import autoupdate
 import builder
 
-CACHED_ENTRIES=12
+CACHED_ENTRIES = 12
 
 # Sets up global to share between classes.
 global updater
@@ -49,6 +49,9 @@
                     'response.timeout': 10000,
                   },
                 }
+  if options.production:
+    base_config['global']['server.environment'] = 'production'
+
   return base_config
 
 
@@ -132,6 +135,8 @@
                     help='Use update payload from specified directory.')
   parser.add_option('--port', default=8080,
                     help='Port for the dev server to use.')
+  parser.add_option('--production', action='store_true', default=False,
+                    help='Have the devserver use production values.')
   parser.add_option('--proxy_port', default=None,
                     help='Port to have the client connect to (testing support)')
   parser.add_option('--src_image', default='',