all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] import/cpan: Maybe coerce version to string
@ 2016-11-12 17:20 Alex Sassmannshausen
  2016-11-12 17:20 ` Alex Sassmannshausen
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Sassmannshausen @ 2016-11-12 17:20 UTC (permalink / raw)
  To: guix-devel; +Cc: Alex Sassmannshausen

Hello,

Sometimes json-fetch returns a number for version in the CPAN importer, when a
string is expected.

This simple patch performs a match on the value returned by json-fetch, to
coerce the number to string if necessary.

WDYT?

Alex

Alex Sassmannshausen (1):
  import/cpan: Maybe coerce version to string.

 guix/import/cpan.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.10.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-13 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-12 17:20 [PATCH] import/cpan: Maybe coerce version to string Alex Sassmannshausen
2016-11-12 17:20 ` Alex Sassmannshausen
2016-11-13 12:13   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.