[Notes] [Git][BuildStream/buildstream][master] 3 commits: _context.py: Doc fix: get_toplevel_project() returns object not list



Title: GitLab

James Ennis pushed to branch master at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/_context.py
    ... ... @@ -317,11 +317,18 @@ class Context():
    317 317
         # invoked with as opposed to a junctioned subproject.
    
    318 318
         #
    
    319 319
         # Returns:
    
    320
    -    #    (list): The list of projects
    
    320
    +    #    (Project): The Project object
    
    321 321
         #
    
    322 322
         def get_toplevel_project(self):
    
    323 323
             return self._projects[0]
    
    324 324
     
    
    325
    +    # get_workspaces():
    
    326
    +    #
    
    327
    +    # Return a Workspaces object containing a list of workspaces.
    
    328
    +    #
    
    329
    +    # Returns:
    
    330
    +    #    (Workspaces): The Workspaces object
    
    331
    +    #
    
    325 332
         def get_workspaces(self):
    
    326 333
             return self._workspaces
    
    327 334
     
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]