eva-shell 0.2.45__tar.gz → 0.2.46__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eva-shell
3
- Version: 0.2.45
3
+ Version: 0.2.46
4
4
  Summary: EVA ICS v4 shell
5
5
  Home-page: https://github.com/eva-ics/eva4
6
6
  Author: Bohemia Automation / Altertech
@@ -1,3 +1,3 @@
1
- __version__ = '0.2.45'
1
+ __version__ = '0.2.46'
2
2
 
3
3
  DEFAULT_REPOSITORY_URL = 'https://pub.bma.ai/eva4'
@@ -1191,9 +1191,12 @@ class CLI:
1191
1191
  ok()
1192
1192
 
1193
1193
  def item_state(self, i, full, regex):
1194
+ params = dict(i=i, full=full)
1195
+ if regex is not None and regex != '':
1196
+ params['regex'] = regex
1194
1197
  data = call_rpc(
1195
1198
  'item.state',
1196
- dict(i=i, full=full, regex=regex)
1199
+ params
1197
1200
  )
1198
1201
  print_result(data,
1199
1202
  cols=[
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eva-shell
3
- Version: 0.2.45
3
+ Version: 0.2.46
4
4
  Summary: EVA ICS v4 shell
5
5
  Home-page: https://github.com/eva-ics/eva4
6
6
  Author: Bohemia Automation / Altertech
@@ -1,4 +1,4 @@
1
- __version__ = '0.2.45'
1
+ __version__ = '0.2.46'
2
2
 
3
3
  import setuptools
4
4
 
File without changes
File without changes
File without changes
File without changes
File without changes