From 389783adae0db17cadd38cc2be0d58d5ca6c1b69 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 15 Jun 2018 14:53:48 +0300 Subject: [PATCH] Removed "date&time" when processing project with "platformio run" command // Resolve #1343 --- HISTORY.rst | 10 ++++++---- platformio/commands/run.py | 7 ++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index cbea6718..11f579d4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -10,7 +10,9 @@ PlatformIO 3.0 * Don't export ``CPPPATH`` of project dependent libraries to frameworks (`issue #1665 `_) * Handle "architectures" data from "library.properties" manifest in - `lib_compat_mode = strict `__ + `lib_compat_mode = strict `__ +* Removed "date&time" when processing project with `platformio run `__ command + (`issue #1343 `_) * Fixed issue with invalid LD script if path contains space 3.5.3 (2018-06-01) @@ -28,7 +30,7 @@ PlatformIO 3.0 (`issue #1612 `_) * Configure a custom path to SVD file using `debug_svd_path `__ option -* Custom project `description `_ +* Custom project `description `_ which will be used by `PlatformIO Home `_ * Updated Unity tool to 2.4.3 * Improved support for Black Magic Probe in "uploader" mode @@ -54,9 +56,9 @@ PlatformIO 3.0 - Multiple themes (Dark & Light) - Ability to specify a name for new project -* Control `PIO Unified Debugger `__ +* Control `PIO Unified Debugger `__ and its firmware loading mode using - `debug_load_mode `__ option + `debug_load_mode `__ option * Added aliases (off, light, strict) for `LDF Compatibility Mode `__ * Search for a library using PIO Library Registry ID ``id:X`` (e.g. ``pio lib search id:13``) diff --git a/platformio/commands/run.py b/platformio/commands/run.py index a09ee01e..c61dbc06 100644 --- a/platformio/commands/run.py +++ b/platformio/commands/run.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from datetime import datetime from hashlib import sha1 from os import getcwd, makedirs, walk from os.path import getmtime, isdir, isfile, join @@ -197,10 +196,8 @@ class EnvironmentProcessor(object): "%s: %s" % (k, ", ".join(util.parse_conf_multi_values(v)))) if not self.silent: - click.echo("[%s] Processing %s (%s)" % - (datetime.now().strftime("%c"), - click.style(self.name, fg="cyan", bold=True), - "; ".join(env_dump))) + click.echo("Processing %s (%s)" % (click.style( + self.name, fg="cyan", bold=True), "; ".join(env_dump))) click.secho("-" * terminal_width, bold=True) self.options = self._validate_options(self.options)