Skip to content

Commit 3a683f7

Browse files
authored
Merge pull request #45 from aboutcode-org/update-typecode-libmagic-system-provided
Declare missing system_arch variable
2 parents 6eaeb22 + 540bfd9 commit 3a683f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • builtins/typecode_libmagic_system_provided/src/typecode_libmagic

builtins/typecode_libmagic_system_provided/src/typecode_libmagic/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def get_locations(self):
4949
distribution = self.get_like_distro()
5050
debian_based_distro = ['ubuntu', 'mint', 'debian']
5151
rpm_based_distro = ['fedora', 'rhel']
52+
system_arch = platform.machine()
5253

5354
if any(dist in debian_based_distro for dist in distribution):
5455
db_dir = '/usr/lib/file'

0 commit comments

Comments
 (0)