Skip to content

Commit

Permalink
Made last changes Python 2 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkraft committed Dec 22, 2017
1 parent 28fb1f0 commit ce73692
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cmf/cell_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
# You should have received a copy of the GNU General Public License
# along with cmf. If not, see <http://www.gnu.org/licenses/>.
#
from __future__ import print_function, unicode_literals, absolute_import, division

from . import cmf_core as cmf
from . import maps
import time
from math import *



class Geometry:
def __init__(self):
self.__dict = {}
Expand Down
6 changes: 4 additions & 2 deletions cmf/extend_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#
# You should have received a copy of the GNU General Public License
# along with cmf. If not, see <http://www.gnu.org/licenses/>.
#
import cmf_core as cmf
#
from __future__ import print_function, unicode_literals, absolute_import, division

from . import cmf_core as cmf

class profilelayer:
def __init__(self,upper_boundary,lower_boundary,r_curve):
Expand Down
2 changes: 2 additions & 0 deletions cmf/reach_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with cmf. If not, see <http://www.gnu.org/licenses/>.
#
from __future__ import print_function, unicode_literals, absolute_import, division

from . import cmf_core as cmf

def get_predicate(tolerance,as_shape):
Expand Down

0 comments on commit ce73692

Please sign in to comment.