aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall.py2
-rw-r--r--servo/views/device.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/install.py b/install.py
index c03de46..bcb0011 100755
--- a/install.py
+++ b/install.py
@@ -14,7 +14,7 @@ assert not os.path.exists('local_settings.py'), 'Local_settings already defined'
default_hostname = socket.gethostname()
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
-tpl_url = 'https://gist.githubusercontent.com/filipp/cba2ffecd0d5790f7245/raw/9d5b140ed23c1bbdbadbd5c674d3a00c00d80047/local_settings.py'
+tpl_url = 'https://gist.githubusercontent.com/filipp/cba2ffecd0d5790f7245/raw/e6b4b09a8779a188520604f654bfbd907c5d1f4c/local_settings.py'
fh = open('local_settings.py', 'w')
diff --git a/servo/views/device.py b/servo/views/device.py
index f02182a..0eda090 100644
--- a/servo/views/device.py
+++ b/servo/views/device.py
@@ -60,7 +60,7 @@ def prep_list_view(request, product_line=None, model=None):
models = model_from_slug(product_line)
if model is None:
- model = models.keys()[0]
+ model = list(models.keys())[0]
title = product_lines[product_line]['name']
else:
title = models.get(model)