You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Codebase and VirtualCodebase no longer have a "full_root" and
"strip_root" constructor arguments and attributes. These can still be
passed but they will be ignored. These were needed only for path output
and this is now were these arguments and code lives.
- Resource.path is now always the plain path where the first segment
is the last segment of the root location, e.g. the root fiename.
- The Resource now has new "full_root_path" and "strip_root_path"
properties that return the corresponding paths.
- The Resource.to_dict and the new Codebase.to_list both have a new
"full_root" and "strip_root" arguments
- The Resource.get_path() method accepts "full_root" and "strip_root"
arguments.
- The Resource.create_child() method has been removed.
- The "Codebase.original_location" attributed has been removed.
No known users of commoncode used this.
Also format code and organize imports.
Signed-off-by: Philippe Ombredanne <[email protected]>
0 commit comments