From 0718c9d23a5791aa51bc11bba6a011fe9a8a616d Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 21 Dec 2011 09:34:08 +0100 Subject: [PATCH] also dont add tuples to lists sleepy man. --- librarian/dcparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librarian/dcparser.py b/librarian/dcparser.py index cf4a7b9..534cd27 100644 --- a/librarian/dcparser.py +++ b/librarian/dcparser.py @@ -134,7 +134,7 @@ class DCInfo(type): try: fields.index(field) except ValueError: - fields = (field,) + fields + fields.insert(0, field) class_dict['FIELDS'] = tuple(fields) return super(DCInfo, meta).__new__(meta, classname, bases, class_dict) -- 2.20.1