Pārlūkot izejas kodu

comment added and typos fixed

Markus Neteler 5 gadi atpakaļ
vecāks
revīzija
d0764c65e3
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      scripts/g.extension/g.extension.py

+ 2 - 1
scripts/g.extension/g.extension.py

@@ -1103,7 +1103,7 @@ def download_source_code_official_github(url, name, outdev, directory=None):
 
 
 def move_extracted_files(extract_dir, target_dir, files):
-    """Fix state of extracted file by moving them to different diretcory
+    """Fix state of extracted files by moving them to different directory
 
     When extracting, it is not clear what will be the root directory
     or if there will be one at all. So this function moves the files to
@@ -1794,6 +1794,7 @@ def resolve_source_code(url=None, name=None):
     """
     if not url and name:
         module_class = get_module_class_name(name)
+        # note: 'trunk' is required to make URL usable for 'svn export' call
         git_url = 'https://github.com/OSGeo/grass-addons/trunk/' \
                    'grass{version}/{module_class}/{module_name}' \
                    .format(version=version[0],