mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
185fcb8158
Add LICENSE keywords. Restrict python versions that work. Update WWW. PR: ports/160485 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
20 lines
589 B
Plaintext
20 lines
589 B
Plaintext
--- bin/ontv.orig 2010-08-04 22:26:46.000000000 +0400
|
|
+++ bin/ontv 2011-08-19 15:22:32.000000000 +0400
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/python
|
|
+#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Copyright (C) 2010 Olof Kindgren <olki@src.gnome.org>
|
|
@@ -34,8 +34,8 @@
|
|
from optparse import OptionParser
|
|
|
|
import locale
|
|
-locale.setlocale(locale.LC_ALL, '')
|
|
-locale.bindtextdomain(NAME.lower(), LOCALE_DIR)
|
|
+#locale.setlocale(locale.LC_ALL, '')
|
|
+#locale.bindtextdomain(NAME.lower(), LOCALE_DIR)
|
|
import gettext
|
|
gettext.bindtextdomain(NAME.lower(), LOCALE_DIR)
|
|
gettext.textdomain(NAME.lower())
|