Allow specification of working directory via constructor argument and related cleanup
Change-Id: Ifc73371c920d1d4e47b1fa04e57de5aebd2a6b40
diff --git a/examples/psync/full_sync.py b/examples/psync/full_sync.py
index d256a3b..d74a284 100644
--- a/examples/psync/full_sync.py
+++ b/examples/psync/full_sync.py
@@ -68,7 +68,7 @@
time.sleep(300)
totalUpdates = int(host.cmd('grep -r Update {}/*/psync.logs | wc -l'
- .format(args.workDir)))
+ .format(ndn.workDir)))
expectedUpdates = (maxUpdatesPerUserPrefixPerNode *
len(ndn.net.hosts) * (len(ndn.net.hosts) - 1) * numUserPrefixesPerNode)