Explorar o código

comment added and typos fixed

Markus Neteler %!s(int64=5) %!d(string=hai) anos
pai
achega
d0764c65e3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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],