Browse Source

comment added and typos fixed

Markus Neteler 5 years ago
parent
commit
d0764c65e3
1 changed files with 2 additions and 1 deletions
  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],