$OpenBSD: patch-testing_functional_test_restart_py,v 1.4 2017/01/26 22:52:20 danj Exp $

upstream bug report https://bugs.launchpad.net/bugs/1623342
fixed committed upstream 
https://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/revision/1264

--- testing/functional/test_restart.py.orig	Tue Jan  3 21:22:07 2017
+++ testing/functional/test_restart.py	Tue Jan  3 21:21:23 2017
@@ -327,7 +327,7 @@ class RestartTestWithoutEncryption(RestartTest):
             tarcmd = "tar"
         elif platform.platform().startswith('Darwin'):
             tarcmd = "gtar"
-        elif platform.platform().endswith('BSD'):
+        elif platform.system().endswith('BSD'):
             tarcmd = "gtar"
         else:
             raise Exception("Platform %s not supported by tar/gtar." % platform.platform())
