python3-openEuler 0.0.5__tar.gz → 0.0.6__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.

Potentially problematic release.


This version of python3-openEuler might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python3-openEuler
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: used to get and deal information about openEuler os
5
5
  Home-page: https://gitee.com/devops_dev/openEuler
6
6
  Author: redrose2100
@@ -162,7 +162,10 @@ class OpenEuler():
162
162
  while current_value != prev_value:
163
163
  prev_value = current_value
164
164
  for pattern, replacement in patterns:
165
- current_value = pattern.sub(replacement, current_value)
165
+ try:
166
+ current_value = pattern.sub(replacement, current_value)
167
+ except Exception as e:
168
+ continue
166
169
  return current_value
167
170
 
168
171
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python3-openEuler
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: used to get and deal information about openEuler os
5
5
  Home-page: https://gitee.com/devops_dev/openEuler
6
6
  Author: redrose2100
@@ -10,7 +10,7 @@ except:
10
10
 
11
11
  setup(
12
12
  name="python3-openEuler",
13
- version="0.0.5",
13
+ version="0.0.6",
14
14
  description="used to get and deal information about openEuler os",
15
15
  long_description=long_desc,
16
16
  long_description_content_type="text/markdown",