summaryrefslogtreecommitdiffstats
path: root/language_codes.py
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2008-08-12 22:00:45 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2008-08-12 22:00:45 -0500
commit410154779451b21ea14d7f6272c320059a772949 (patch)
tree364b2215a872cc03c6e6d1e4d70e0586b96c1060 /language_codes.py
downloadnohgooee-410154779451b21ea14d7f6272c320059a772949.tar.gz
nohgooee-410154779451b21ea14d7f6272c320059a772949.tar.xz
nohgooee-410154779451b21ea14d7f6272c320059a772949.zip
Import files from BitTorrent 4.4.0
http://download.bittorrent.com/dl/BitTorrent-4.4.0.tar.gz
Diffstat (limited to 'language_codes.py')
-rw-r--r--language_codes.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/language_codes.py b/language_codes.py
new file mode 100644
index 0000000..3464f30
--- /dev/null
+++ b/language_codes.py
@@ -0,0 +1,11 @@
+import sys
+from BitTorrent import language_names
+
+if '-a' in sys.argv:
+ from BitTorrent.language import unfinished_language_names
+ language_names.update(unfinished_language_names)
+
+languages = language_names.keys()
+languages.sort()
+
+print ' '.join(languages)