move and rename some

This commit is contained in:
j 2008-07-06 15:00:06 +02:00
parent d338c55b1c
commit a0e5c8fba4
9 changed files with 13 additions and 11 deletions

View file

@ -1,13 +1,14 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# 2008
# GPL 2008
from hashes import *
from file import *
from html import *
from text import *
from format import *
import net
import cache
from iso import *
#only works if BitTornado is installed
try:

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# 2008
# GPL 2008
import gzip
import StringIO
import os

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL written 2008 by j@pad.ma
# GPL 2008
import sha
import os

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL written 2008 by j@pad.ma
# GPL 2008
import re
import string
from htmlentitydefs import name2codepoint

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL 2008
_iso639_languages = [
("Unknown", "", "", "und"),
@ -227,7 +227,7 @@ def langCode2To3(code):
def langCode3To2(code):
langTo2Code(codeToLang(code))
def englishName(lang):
def langEnglishName(lang):
lang = lang.lower()
for l in _iso639_languages:
if l[1].lower() == lang:

View file

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL 2008
import gzip
import StringIO
import urllib

View file

@ -1,6 +1,6 @@
# -*- Mode: Python; -*-
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# vi:si:et:sw=4:sts=4:ts=4
# GPL 2008
import re
_articles = ('the', 'la', 'a', 'die', 'der', 'le', 'el',

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# GPL written 2008 by j@pad.ma
# GPL 2008
import re

View file

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
# Written 2007 by j@mailb.org
# GPL 2007
from threading import Event
import sha