[SCM] Samba Shared Repository - branch master updated
Noel Power
npower at samba.org
Thu Jan 10 15:22:02 UTC 2019
The branch, master has been updated
via 36ff1a51266 netcmd: Fix broken samba-tool gpo commands
from d7d3ee18a59 statvfs: fix bsize and frsize mixup
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 36ff1a5126605e14c3a77337b654c95c668c573a
Author: Tim Beale <timbeale at catalyst.net.nz>
Date: Thu Jan 10 16:34:27 2019 +1300
netcmd: Fix broken samba-tool gpo commands
samba-tool gpo create|fetch|backup commands throw exceptions due to a
missing Python import:
ERROR(<class 'NameError'>): uncaught exception - name 'tempfile' is not
defined
File "bin/python/samba/netcmd/__init__.py", line 184, in _run
return self.run(*args, **kwargs)
File "bin/python/samba/netcmd/gpo.py", line 980, in run
tmpdir, gpodir = self.construct_tmpdir(tmpdir, gpo)
File "bin/python/samba/netcmd/gpo.py", line 386, in construct_tmpdir
tmpdir = tempfile.mkdtemp()
Introduced by commit e3320b6d3df7a0c7b refactor.
Signed-off-by: Tim Beale <timbeale at catalyst.net.nz>
Reviewed-by: Noel Power <npower at samba.org>
Autobuild-User(master): Noel Power <npower at samba.org>
Autobuild-Date(master): Thu Jan 10 16:21:23 CET 2019 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
python/samba/netcmd/gpo.py | 1 +
1 file changed, 1 insertion(+)
Changeset truncated at 500 lines:
diff --git a/python/samba/netcmd/gpo.py b/python/samba/netcmd/gpo.py
index b65fb7c042c..a064f44147a 100644
--- a/python/samba/netcmd/gpo.py
+++ b/python/samba/netcmd/gpo.py
@@ -25,6 +25,7 @@ import ldb
import re
import xml.etree.ElementTree as ET
import shutil
+import tempfile
from samba.auth import system_session
from samba.netcmd import (
--
Samba Shared Repository
More information about the samba-cvs
mailing list