From 584587893ee63df2a563c40c06a38dc1868f50ae Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 10 Sep 2007 17:02:48 +0000 Subject: [PATCH] fixed tools --- README | 2 +- d-fuzz.py | 9 +++------ tools/xmltodict.py => xmltodict.py | 0 tools/xmltodict2.py => xmltodict2.py | 0 4 files changed, 4 insertions(+), 7 deletions(-) rename tools/xmltodict.py => xmltodict.py (100%) rename tools/xmltodict2.py => xmltodict2.py (100%) diff --git a/README b/README index 34e5c3a..d2a7d10 100644 --- a/README +++ b/README @@ -13,7 +13,7 @@ It is neccessary to provide a config file which sets all needed parameters (see # 2. Installation -# =============== +# =============== see INSTALL diff --git a/d-fuzz.py b/d-fuzz.py index e0ff300..7b1df1c 100755 --- a/d-fuzz.py +++ b/d-fuzz.py @@ -15,8 +15,9 @@ import sys import shout import string import random +import d-fuzz import subprocess -from tools import xmltodict +from tools import * from mutagen.oggvorbis import OggVorbis @@ -40,7 +41,6 @@ class DFuzz: """A D-Fuzz station""" def __init__(self): - self.version = '0.1' self.conf = [] self.id = 999999 @@ -115,7 +115,6 @@ class DFuzz: From Telemeta...""" __chunk = 0 - try: proc = subprocess.Popen(command, shell = True, @@ -137,9 +136,7 @@ class DFuzz: yield __chunk def stream(self, conf_file): - - print "D-fuzz v"+self.version - + print "D-fuzz v"+self.version self.conf_file = conf_file self.get_conf_dict() diff --git a/tools/xmltodict.py b/xmltodict.py similarity index 100% rename from tools/xmltodict.py rename to xmltodict.py diff --git a/tools/xmltodict2.py b/xmltodict2.py similarity index 100% rename from tools/xmltodict2.py rename to xmltodict2.py -- 2.39.5