Skip to content

Commit fc3a618

Browse files
authored
Merge pull request #79 from pgRouting/python3
Python3
2 parents c355739 + dfc7788 commit fc3a618

40 files changed

+1638
-1735
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
end_of_line = lf
11+
charset = utf-8
12+
13+
# Docstrings and comments use max_line_length = 79
14+
[*.py]
15+
max_line_length = 119
16+
17+
# Makefiles always use tabs for indentation
18+
[Makefile]
19+
indent_style = tab

Test_utils.py

Lines changed: 0 additions & 140 deletions
This file was deleted.

__init__.py

100644100755
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
/***************************************************************************
33
pgRouting Layer
44
a QGIS plugin
5-
6-
based on "Fast SQL Layer" plugin Copyright 2011 Pablo Torres Carreira
5+
6+
based on "Fast SQL Layer" plugin Copyright 2011 Pablo Torres Carreira
77
-------------------
88
begin : 2011-11-25
99
copyright : (c) 2011 by Anita Graser
@@ -21,6 +21,7 @@
2121
This script initializes the plugin, making it known to QGIS.
2222
"""
2323

24+
2425
def name():
2526
return "pgRouting Layer"
2627
def description():
@@ -32,5 +33,5 @@ def icon():
3233
def qgisMinimumVersion():
3334
return "1.7"
3435
def classFactory(iface):
35-
from pgRoutingLayer import pgRoutingLayer
36-
return pgRoutingLayer(iface)
36+
from pgRoutingLayer.pgRoutingLayer import PgRoutingLayer
37+
return PgRoutingLayer(iface)

connectors/__init__.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)