瀏覽代碼

comment added and typos fixed

Markus Neteler 5 年之前
父節點
當前提交
d0764c65e3
共有 1 個文件被更改,包括 2 次插入1 次删除
  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],