Skip to content

Commit

Permalink
clean up a little more
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicexplorer committed May 24, 2018
1 parent 8d36c17 commit 322c16e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/python/pants/bin/goal_runner.py
Expand Up @@ -244,7 +244,7 @@ def subsystems(cls):
}

def _execute_engine(self):
workdir = self._global_options.pants_workdir
workdir = self._context.options.for_global_scope().pants_workdir
if not workdir.endswith('.pants.d'):
self._context.log.error('Pants working directory should end with \'.pants.d\', currently it is {}\n'
.format(workdir))
Expand Down
4 changes: 2 additions & 2 deletions src/rust/engine/src/lib.rs
Expand Up @@ -47,8 +47,8 @@ use externs::{Buffer, BufferBuffer, CallExtern, CloneValExtern, CreateExceptionE
DropHandlesExtern, EqualsExtern, EvalExtern, ExternContext, Externs,
GeneratorSendExtern, IdentifyExtern, LogExtern, ProjectIgnoringTypeExtern,
ProjectMultiExtern, PyResult, SatisfiedByExtern, SatisfiedByTypeExtern,
StoreBytesExtern, StoreI64Extern, StoreTupleExtern, TypeIdBuffer,
TypeToStrExtern, ValToStrExtern};
StoreBytesExtern, StoreI64Extern, StoreTupleExtern, TypeIdBuffer, TypeToStrExtern,
ValToStrExtern};
use futures::Future;
use rule_graph::{GraphMaker, RuleGraph};
use scheduler::{ExecutionRequest, RootResult, Scheduler, Session};
Expand Down

0 comments on commit 322c16e

Please sign in to comment.