File tree 3 files changed +11
-11
lines changed
readthedocs/vcs_support/backends
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
import csv
2
2
import re
3
-
4
3
import sys
5
4
5
+ from readthedocs .projects .exceptions import ProjectImportError
6
+ from readthedocs .vcs_support .base import BaseVCS , VCSVersion
7
+
6
8
if sys .version_info > (3 ,):
7
9
from io import StringIO
8
10
else :
9
11
from StringIO import StringIO
10
12
11
- from readthedocs .projects .exceptions import ProjectImportError
12
- from readthedocs .vcs_support .base import BaseVCS , VCSVersion
13
13
14
14
15
15
class Backend (BaseVCS ):
Original file line number Diff line number Diff line change 2
2
import logging
3
3
import csv
4
4
import os
5
-
6
5
import sys
6
+
7
+ from readthedocs .projects .exceptions import ProjectImportError
8
+ from readthedocs .vcs_support .base import BaseVCS , VCSVersion
9
+
7
10
if sys .version_info > (3 ,):
8
11
from io import StringIO
9
12
else :
10
13
from StringIO import StringIO
11
14
12
- from readthedocs .projects .exceptions import ProjectImportError
13
- from readthedocs .vcs_support .base import BaseVCS , VCSVersion
14
15
15
16
log = logging .getLogger (__name__ )
16
17
Original file line number Diff line number Diff line change 1
1
import csv
2
-
3
2
import sys
3
+
4
+ from readthedocs .projects .exceptions import ProjectImportError
5
+ from readthedocs .vcs_support .base import BaseVCS , VCSVersion
6
+
4
7
if sys .version_info > (3 ,):
5
8
from io import StringIO
6
9
else :
7
10
from StringIO import StringIO
8
11
9
12
10
- from readthedocs .projects .exceptions import ProjectImportError
11
- from readthedocs .vcs_support .base import BaseVCS , VCSVersion
12
-
13
-
14
13
class Backend (BaseVCS ):
15
14
supports_tags = False
16
15
fallback_branch = '/trunk/'
You can’t perform that action at this time.
0 commit comments