Skip to content

Commit

Permalink
Use direct imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf committed Jul 20, 2019
1 parent 87b3c89 commit 070be35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/pants/base/run_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import time
from collections import OrderedDict

from pants import version
from pants.base.build_environment import get_buildroot, get_scm
from pants.util.dirutil import safe_mkdir_for
from pants.version import VERSION


class RunInfo:
Expand Down Expand Up @@ -81,7 +81,7 @@ def add_basic_info(self, run_id, timestamp):
# TODO: Get rid of the redundant 'path' key once everyone is off it.
self.add_infos(('id', run_id), ('timestamp', timestamp), ('datetime', datetime),
('user', user), ('machine', machine), ('path', buildroot),
('buildroot', buildroot), ('version', version.VERSION))
('buildroot', buildroot), ('version', VERSION))

def add_scm_info(self):
"""Adds SCM-related info."""
Expand Down

0 comments on commit 070be35

Please sign in to comment.