|
42 | 42 | fromgit.typesimportTBD,PathLike,Lit_config_levels,Commit_ish,Tree_ish,assert_never
|
43 | 43 | fromtypingimport (Any,BinaryIO,Callable,Dict,
|
44 | 44 | Iterator,List,Mapping,Optional,Sequence,
|
45 |
| -TextIO,Tuple,Type,TypedDict,Union, |
| 45 | +TextIO,Tuple,Type,Union, |
46 | 46 | NamedTuple,cast,TYPE_CHECKING)
|
47 | 47 |
|
48 |
| -fromgit.typesimportConfigLevels_Tup |
| 48 | +fromgit.typesimportConfigLevels_Tup,TypedDict |
49 | 49 |
|
50 | 50 | ifTYPE_CHECKING:
|
51 | 51 | fromgit.utilimportIterableList
|
@@ -984,11 +984,10 @@ class InfoDC(Dict[str, Union[str, int]]):
|
984 | 984 | c=commits.get(sha)
|
985 | 985 | ifcisNone:
|
986 | 986 | c=Commit(self,hex_to_bin(sha),
|
987 |
| -author=Actor._from_string(info.author+' '+info.author_email), |
| 987 | +author=Actor._from_string(f"{info.author}{info.author_email}"), |
988 | 988 | authored_date=info.author_date,
|
989 |
| -committer=Actor._from_string( |
990 |
| -info.committer+' '+info.committer_email), |
991 |
| -committed_date=info.committer_date) |
| 989 | +committer=Actor._from_string(f"{info.committer}{info.committer_email}"), |
| 990 | +committed_date=info.committer_date) |
992 | 991 | commits[sha]=c
|
993 | 992 | blames[-1][0]=c
|
994 | 993 | # END if commit objects needs initial creation
|
|