Skip to content

Commit e608eee

Browse files
authored
Fixing typo in py_unittest breaking deployments (#4612)
This fixes the following error: ``` File "/usr/local/google/home/metzman/clusterfuzz-311/butler.py", line 421, in <module> sys.exit(main()) ^^^^^^ File "/usr/local/google/home/metzman/clusterfuzz-311/butler.py", line 407, in main return command.execute(args) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/google/home/metzman/clusterfuzz-311/src/local/butler/deploy.py", line 576, in execute package.package( File "/usr/local/google/home/metzman/clusterfuzz-311/src/local/butler/package.py", line 87, in package py_unittest.execute(args={}) File "/usr/local/google/home/metzman/clusterfuzz-311/src/local/butler/py_unittest.py", line 299, in execute target=args.target, ^^^^^^^^^^^ AttributeError: 'dict' object has no attribute 'target' ```
1 parent a6cffd4 commit e608eee

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/local/butler/package.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from local.butler import appengine
2222
from local.butler import common
2323
from local.butler import constants
24-
from local.butler import py_unittest
2524
from src.clusterfuzz._internal.base import utils
2625

2726
MIN_SUPPORTED_NODEJS_VERSION = 4
@@ -84,8 +83,6 @@ def package(revision,
8483
print('You do not have nodejs, or your nodejs is not at least version 4.')
8584
sys.exit(1)
8685

87-
py_unittest.execute(args={})
88-
8986
common.install_dependencies(platform_name=platform_name)
9087

9188
# This needs to be done before packaging step to let src/appengine/config be

0 commit comments

Comments
 (0)