[conduit: 79/138] Initial directory structure should be more like DP expects
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit: 79/138] Initial directory structure should be more like DP expects
- Date: Thu, 21 May 2009 03:33:34 -0400 (EDT)
commit bc60e3c411eafa8c5471671c85fc6f2e0affed1f
Author: John Carr <john carr unrouted co uk>
Date: Sun May 3 14:18:32 2009 -0700
Initial directory structure should be more like DP expects
---
test/soup/modules/n800.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/test/soup/modules/n800.py b/test/soup/modules/n800.py
index 173e990..8a7cda1 100644
--- a/test/soup/modules/n800.py
+++ b/test/soup/modules/n800.py
@@ -10,12 +10,15 @@ from soup.data.video import VideoWrapper
import conduit.modules.N800Module.N800Module as N800Module
import conduit.utils as Utils
-import shutil
+import os, shutil
class N800Wrapper(object):
def create_dataprovider(self):
self.folder = Utils.new_tempdir()
+ path = os.path.join(self.folder, self.klass.DEFAULT_FOLDER)
+ if not os.path.exists(path):
+ os.mkdir(path)
return self.klass(self.folder, "")
def destroy_dataprovider(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]