Kaydet (Commit) e463c1ee authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Runtime module broken

Preprocess module added into inary/libraries until when I rewrite xmlfile
üst daa91d73
2018-12-03 Suleyman POyraz <zaryob.dev@gmail.com>
* Preprocess module added into inary/libraries until when I rewrite xmlfile
2018-12-01 Suleyman POyraz <zaryob.dev@gmail.com>
* PEP-8 style edits:
- spaces and
* Unreachable return colums are deleted.
* Deprecated modules are deleted:
- inary/__init__.py: imp -> importlib
- inary/fetcher.py: encodestring -> encodebytes
* Mutable default arguments are rewrited.
* None equalities are inspected.
* inary/configfile.py: changed backspace tabs to space.
* Some functions are changed static methodes.
2018-05-12 Suleyman Poyraz <zaryob.dev@gmail.com>
* Paket tipi hatası:
Belirtilen paket tipine uygun install dosyası pakete eklenmeli ve
......
# -*- coding: utf-8 -*-
#
# Copyright (C) 2018, Suleyman POYRAZ (Zaryob)
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 3 of the License, or (at your option)
# any later version.
#
# Please read the COPYING file.
#
This diff is collapsed.
......@@ -79,8 +79,8 @@ class XmlFile(object):
st = io.StringIO()
try:
from preprocess import preprocess, PreprocessError
preprocess(infile=localpath,outfile=st,defines=inary.config.Config().values.directives)
from inary.libraries.preprocess import preprocess
preprocess.preprocess(infile=localpath,outfile=st,defines=inary.config.Config().values.directives)
st.seek(0)
except:
st = open(localpath,'r')
......
......@@ -79,8 +79,8 @@ class XmlFile(object):
st = io.StringIO()
try:
from preprocess import preprocess, PreprocessError
preprocess(infile=localpath,outfile=st,defines=inary.config.Config().values.directives)
from inary.libraries import preprocess
preprocess.preprocess(infile=localpath,outfile=st,defines=inary.config.Config().values.directives)
st.seek(0)
except:
st = open(localpath,'r')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment