Index: profiling.py |
diff --git a/profiling.py b/profiling.py |
index acb1258b57ae7ba44dbe4e998c356c350165ffd1..22662b1feda0af6612edaf1a13e67cf30ba25eef 100644 |
--- a/profiling.py |
+++ b/profiling.py |
@@ -84,8 +84,9 @@ class Profiling(BasePage): |
blacklist = ('timestamp', 'executable', 'first_arg') |
required = ('argv', 'duration', 'platform', 'domain') |
accepted_keys = list(set(ProfileReport.properties()) - set(blacklist)) |
+ arguments = self.request.arguments() |
kwargs = dict( |
- (k, self.request.get(k)) for k in accepted_keys if k in self.request) |
+ (k, self.request.get(k)) for k in accepted_keys if k in arguments) |
if not all(kwargs.get(k, None) for k in required): |
logging.info('missing required keys. %r' % kwargs) |