Bug 1435913 - fix flake8 errors. r=me
authorJoel Maher <jmaher@mozilla.com>
Wed, 14 Mar 2018 08:56:43 -0400
changeset 767509 bf9d58800b62aa54e7403ac0ba1811245af79f30
parent 767508 c2bd475a4221d4e856024b39aa2652b4ae247174
child 767510 343ea197c56e6e0934d4ee315e43edc37b1c7995
push id102625
push userbmo:hsivonen@hsivonen.fi
push dateWed, 14 Mar 2018 18:54:02 +0000
reviewersme
bugs1435913
milestone61.0a1
Bug 1435913 - fix flake8 errors. r=me
testing/talos/talos/config.py
testing/talos/talos/gecko_profile.py
--- a/testing/talos/talos/config.py
+++ b/testing/talos/talos/config.py
@@ -307,18 +307,18 @@ def determine_local_symbols_path(config)
     if 'symbols_path' not in config:
         return
 
     # use objdir/dist/crashreporter-symbols for symbolsPath if none provided
     if not config['symbols_path'] and \
        config['develop'] and \
        'MOZ_DEVELOPER_OBJ_DIR' in os.environ:
         config['symbols_path'] = os.path.join(os.environ['MOZ_DEVELOPER_OBJ_DIR'],
-                                             'dist',
-                                             'crashreporter-symbols')
+                                              'dist',
+                                              'crashreporter-symbols')
 
 
 def get_counters(config):
     counters = set()
     return counters
 
 
 def get_active_tests(config):
--- a/testing/talos/talos/gecko_profile.py
+++ b/testing/talos/talos/gecko_profile.py
@@ -146,17 +146,18 @@ class GeckoProfile(object):
                 symbolicator.integrate_symbol_zip_from_url(
                     self.browser_config['symbols_path']
                 )
             elif os.path.isfile(self.browser_config['symbols_path']):
                 symbolicator.integrate_symbol_zip_from_file(
                     self.browser_config['symbols_path']
                 )
             elif os.path.isdir(self.browser_config['symbols_path']):
-                symbolicator.options["symbolPaths"]["FIREFOX"] = self.browser_config['symbols_path']
+                sym_path = self.browser_config['symbols_path']
+                symbolicator.options["symbolPaths"]["FIREFOX"] = sym_path
                 self.cleanup = False
 
         missing_symbols_zip = os.path.join(self.upload_dir,
                                            "missingsymbols.zip")
 
         try:
             mode = zipfile.ZIP_DEFLATED
         except NameError: