Skip to content

Commit

Permalink
Merge 8e230d5 into f3e8f43
Browse files Browse the repository at this point in the history
  • Loading branch information
th3-z committed Oct 6, 2019
2 parents f3e8f43 + 8e230d5 commit 16cf529
Show file tree
Hide file tree
Showing 29 changed files with 1,093 additions and 157 deletions.
6 changes: 3 additions & 3 deletions admin_patches/admin_patches.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from os import path
import argparse
import gettext
from os import path

from utils import find_data_file, die, info
from utils.patcher import validate_files, patch_files
from utils import die, find_data_file, info
from utils.patcher import patch_files, validate_files

_ = gettext.gettext

Expand Down
17 changes: 9 additions & 8 deletions admin_patches/utils/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@
"""
from __future__ import print_function

__author__ = "anatoly techtonik <techtonik@gmail.com>"
__version__ = "1.16"

import copy
import logging
import os
import posixpath
import re
import shutil
import sys
from os.path import abspath, exists, isfile

__author__ = "anatoly techtonik <techtonik@gmail.com>"
__version__ = "1.16"


# cStringIO doesn't support unicode in 2.5
try:
Expand All @@ -29,11 +35,6 @@
except ImportError:
import urllib.request as urllib_request

from os.path import exists, isfile, abspath
import os
import posixpath
import shutil
import sys


PY3K = sys.version_info >= (3, 0)
Expand Down
2 changes: 1 addition & 1 deletion admin_patches/utils/patcher.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gettext
import os
from hashlib import md5
import gettext

from checksums import ORIG_MD5
from utils import find_data_file, info, warning
Expand Down
2 changes: 1 addition & 1 deletion locale/admin_patches.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-10-05 19:33+0100\n"
"POT-Creation-Date: 2019-10-06 15:35+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
4 changes: 2 additions & 2 deletions locale/en_GB/admin_patches.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-10-05 19:33+0100\n"
"PO-Revision-Date: 2019-10-05 19:33+0100\n"
"POT-Creation-Date: 2019-10-06 15:35+0100\n"
"PO-Revision-Date: 2019-10-06 15:35+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en_GB\n"
"Language-Team: en_GB <LL@li.org>\n"
Expand Down
Loading

0 comments on commit 16cf529

Please sign in to comment.