django-field-audit 1.2.8__py2.py3-none-any.whl → 1.2.9__py2.py3-none-any.whl

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 django-field-audit might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: django-field-audit
3
- Version: 1.2.8
3
+ Version: 1.2.9
4
4
  Summary: Audit Field Changes on Django Models
5
5
  Home-page: https://github.com/dimagi/django-field-audit
6
6
  Maintainer: Joel Miller
@@ -26,6 +26,14 @@ Classifier: Framework :: Django :: 4.2
26
26
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
27
27
  Description-Content-Type: text/markdown
28
28
  License-File: LICENSE
29
+ Dynamic: classifier
30
+ Dynamic: description
31
+ Dynamic: description-content-type
32
+ Dynamic: home-page
33
+ Dynamic: license
34
+ Dynamic: maintainer
35
+ Dynamic: maintainer-email
36
+ Dynamic: summary
29
37
 
30
38
  # Audit Field Changes on Django Models
31
39
 
@@ -1,6 +1,6 @@
1
- field_audit/__init__.py,sha256=mnGzteEdBP-PnZrCIFj27G3WIxmEsvm4Q0-Wq0fwZHk,75
1
+ field_audit/__init__.py,sha256=ukvhgwNNpEmH3wqrM6bBaNi4fH-ORfPzcyDbeWUcvnA,75
2
2
  field_audit/apps.py,sha256=04NYTi54zEuYPAhxEvsS61hmoPMIMVfPQKi4DOa9nE0,265
3
- field_audit/auditors.py,sha256=QLJiSqXuN8sUGHaMIUhSIfOpEPAPfZJfKg7YVEq0Xvc,4271
3
+ field_audit/auditors.py,sha256=V5Ese7w4V_WTLklIm5EOsjOJ3t4Iwp69AmgwxNXD33Y,4292
4
4
  field_audit/const.py,sha256=U7c5Y4a5YjmvaZjsUpDhdTOvkcoaS5aqFf_L3C5GtYk,1135
5
5
  field_audit/field_audit.py,sha256=qPHke6cpeWre6jFodiWsDIkyxKwCStDBtunQjUIwCZ8,5891
6
6
  field_audit/middleware.py,sha256=JQMdM1vITddHFCqIX_M8_UDIvbCKU8BhY_sWccGVS-Y,468
@@ -12,8 +12,8 @@ field_audit/management/commands/bootstrap_field_audit_events.py,sha256=QN8PNKqTM
12
12
  field_audit/migrations/0001_initial.py,sha256=UXnmSkG8ZZmh-4DrqYACH9LSJ0Mh74nW0u_yKdS1ctg,1297
13
13
  field_audit/migrations/0002_add_is_bootstrap_column.py,sha256=lkPNMk9Kb6IeaX9E08Snar-0_zr1epVrW9VSq24f9Ns,972
14
14
  field_audit/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- django_field_audit-1.2.8.dist-info/LICENSE,sha256=DUmNjtND8byIKaTpjoksSUVazUJ_-3sPWOyyLiOvyDs,1508
16
- django_field_audit-1.2.8.dist-info/METADATA,sha256=3mRB7_WV2lGdgqVBi3iwSyktUFP5LcaDK17J8sF2RD4,10390
17
- django_field_audit-1.2.8.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
18
- django_field_audit-1.2.8.dist-info/top_level.txt,sha256=wa_olzk0PU62yd5m6tScO-flaKF_xQyLIV_hZY0vi38,12
19
- django_field_audit-1.2.8.dist-info/RECORD,,
15
+ django_field_audit-1.2.9.dist-info/LICENSE,sha256=DUmNjtND8byIKaTpjoksSUVazUJ_-3sPWOyyLiOvyDs,1508
16
+ django_field_audit-1.2.9.dist-info/METADATA,sha256=K2B20mIRsOpglILDX4jEcjOn2muUuWZ3sFsMBI0ZiLE,10564
17
+ django_field_audit-1.2.9.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
18
+ django_field_audit-1.2.9.dist-info/top_level.txt,sha256=wa_olzk0PU62yd5m6tScO-flaKF_xQyLIV_hZY0vi38,12
19
+ django_field_audit-1.2.9.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
field_audit/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  from .field_audit import audit_fields # noqa: F401
2
2
 
3
- __version__ = "1.2.8"
3
+ __version__ = "1.2.9"
field_audit/auditors.py CHANGED
@@ -107,7 +107,7 @@ class SystemUserAuditor(BaseAuditor):
107
107
  try:
108
108
  # get owner of STDIN file on login sessions (e.g. SSH)
109
109
  output = check_output(["who", "-m"], stderr=DEVNULL)
110
- except CalledProcessError:
110
+ except (FileNotFoundError, CalledProcessError):
111
111
  self.has_who_bin = False
112
112
  else:
113
113
  if output: