From 0854974ea8e77c3ca9c049d86cf1e03ecc8ba782 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Wed, 30 Mar 2016 23:44:25 +0100 Subject: [PATCH] renamed VDFDict's submodule --- tests/{test_duplicate_ordered_dict.py => test_vdf_dict.py} | 0 vdf/__init__.py | 5 +---- vdf/{vdfDict.py => vdict.py} | 0 3 files changed, 1 insertion(+), 4 deletions(-) rename tests/{test_duplicate_ordered_dict.py => test_vdf_dict.py} (100%) rename vdf/{vdfDict.py => vdict.py} (100%) diff --git a/tests/test_duplicate_ordered_dict.py b/tests/test_vdf_dict.py similarity index 100% rename from tests/test_duplicate_ordered_dict.py rename to tests/test_vdf_dict.py diff --git a/vdf/__init__.py b/vdf/__init__.py index ec18ec7..d1ad9be 100644 --- a/vdf/__init__.py +++ b/vdf/__init__.py @@ -2,15 +2,13 @@ Module for deserializing/serializing to and from VDF """ __version__ = "1.10" -import collections __author__ = "Rossen Georgiev" -from vdf.vdfDict import VDFDict - import re import sys import struct from io import StringIO as unicodeIO +from vdf.vdict import VDFDict # Py2 & Py3 compability if sys.version_info[0] >= 3: @@ -29,7 +27,6 @@ def strip_bom(line): def strip_bom(line): return line.lstrip(BOMS if isinstance(line, str) else BOMS_UNICODE) - def parse(fp, mapper=dict): diff --git a/vdf/vdfDict.py b/vdf/vdict.py similarity index 100% rename from vdf/vdfDict.py rename to vdf/vdict.py