dbca-utils 3.0.5__tar.gz → 3.0.7__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.
Files changed (22) hide show
  1. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/PKG-INFO +1 -1
  2. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/pyproject.toml +1 -1
  3. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/src/dbca_utils/healthcheck/healthcheck.py +11 -11
  4. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/LICENSE +0 -0
  5. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/README.md +0 -0
  6. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/src/dbca_utils/__init__.py +0 -0
  7. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/src/dbca_utils/apps.py +0 -0
  8. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/src/dbca_utils/healthcheck/__init__.py +0 -0
  9. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/src/dbca_utils/healthcheck/urls.py +0 -0
  10. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/src/dbca_utils/middleware.py +0 -0
  11. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/src/dbca_utils/models.py +0 -0
  12. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/src/dbca_utils/utils.py +0 -0
  13. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/__init__.py +0 -0
  14. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/apps.py +0 -0
  15. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/migrations/0001_initial.py +0 -0
  16. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/migrations/__init__.py +0 -0
  17. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/models.py +0 -0
  18. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/settings.py +0 -0
  19. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/templates/tests/test_model_list.html +0 -0
  20. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/tests.py +0 -0
  21. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/urls.py +0 -0
  22. {dbca_utils-3.0.5 → dbca_utils-3.0.7}/tests/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbca-utils
3
- Version: 3.0.5
3
+ Version: 3.0.7
4
4
  Summary: Utilities for DBCA Django apps
5
5
  Author-Email: Rocky Chen <rocky.chen@dbca.wa.gov.au>, Ashley Felton <ashley.felton@dbca.wa.gov.au>
6
6
  License-Expression: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dbca-utils"
3
- version = "3.0.5"
3
+ version = "3.0.7"
4
4
  description = "Utilities for DBCA Django apps"
5
5
  authors = [
6
6
  { name = "Rocky Chen", email = "rocky.chen@dbca.wa.gov.au" },
@@ -143,17 +143,17 @@ def get_persistent_volumes_data():
143
143
  line = line.lower()
144
144
  if line.startswith("filesystem") :
145
145
  datarow = True
146
- continue
147
- source,target,size = line.split()
148
- size = int(size)
149
- source = source.lower()
150
- if source == "overlay":
151
- overlaysize = size
152
- elif target.startswith("//"):
153
- volumes.append(target)
154
- elif target.startswith("/dev/sd"):
155
- #the volume can be same filesystem as the volume 'overlay'
156
- volumesdata[target] = size
146
+ continue
147
+ source,target,size = line.split()
148
+ size = int(size)
149
+ source = source.lower()
150
+ if source == "overlay":
151
+ overlaysize = size
152
+ elif source.startswith("//"):
153
+ volumes.append(target)
154
+ elif source.startswith("/dev/sd"):
155
+ #the volume can be same filesystem as the volume 'overlay'
156
+ volumesdata[target] = size
157
157
 
158
158
  for k,v in volumesdata.items():
159
159
  if v == overlaysize:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes