hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
bf1b00a9ffb9988110c9b3e825c26f45df3ec844
diff --git a/lib/delivery_boy/fake.rb b/lib/delivery_boy/fake.rb index <HASH>..<HASH> 100644 --- a/lib/delivery_boy/fake.rb +++ b/lib/delivery_boy/fake.rb @@ -51,6 +51,18 @@ module DeliveryBoy clear end + def clear_buffer + @delivery_lock.synchronize do + @buffer.clear + end + end +...
bring test helper up-to-date to runtime's API DeliveryBoy::Instance supports #clear_buffer and #buffer_size methods, which are not implemented on DeliveryBoy::Fake, throwing an NME when testing implementations that rely on either of these.
zendesk_delivery_boy
train
79cc9a4baeddeb6142023732ab132cf6f3852c3b
diff --git a/p2p/net/mock/mock_peernet.go b/p2p/net/mock/mock_peernet.go index <HASH>..<HASH> 100644 --- a/p2p/net/mock/mock_peernet.go +++ b/p2p/net/mock/mock_peernet.go @@ -160,11 +160,41 @@ func (pn *peernet) connect(p peer.ID) (*conn, error) { func (pn *peernet) openConn(r peer.ID, l *link) *conn { lc, rc := l.n...
Fix race in adding connections to connsByPeer Side A could already be running Identify with side B before B had the connection in the connsByPeer, this lead to Connectedness returning NotConnected and Identify failing.
libp2p_go-libp2p
train
9aca1f83580b17657d6cad0ce41955c700311212
diff --git a/src/Illuminate/Support/Facades/Facade.php b/src/Illuminate/Support/Facades/Facade.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Support/Facades/Facade.php +++ b/src/Illuminate/Support/Facades/Facade.php @@ -29,12 +29,8 @@ abstract class Facade */ public static function spy() { - ...
[<I>] Multiple fixes in the Facade class (#<I>) * Multiple fixes on Facade * fix
laravel_framework
train
90190a7db941c7b2fcf1344a18d50a4306569239
diff --git a/Ping.php b/Ping.php index <HASH>..<HASH> 100644 --- a/Ping.php +++ b/Ping.php @@ -103,13 +103,32 @@ class Ping { case 'exec': $ttl = escapeshellcmd($this->ttl); $host = escapeshellcmd($this->host); - // -n = numeric output; -c = number of pings; -t = ttl. - $str = exe...
Issue #2: Support Windows ping in exec().
geerlingguy_Ping
train
fa0662e2cc244e35b16a98745629eb2c1b16908c
diff --git a/agent/engine/dockerstate/docker_task_engine_state.go b/agent/engine/dockerstate/docker_task_engine_state.go index <HASH>..<HASH> 100644 --- a/agent/engine/dockerstate/docker_task_engine_state.go +++ b/agent/engine/dockerstate/docker_task_engine_state.go @@ -318,19 +318,7 @@ func (state *DockerTaskEngineSta...
dockerstate: Factor out store/remove for maps
aws_amazon-ecs-agent
train
96edee806efa01c31902b692419fe44f7a66efe4
diff --git a/lib/express/request.js b/lib/express/request.js index <HASH>..<HASH> 100644 --- a/lib/express/request.js +++ b/lib/express/request.js @@ -91,6 +91,21 @@ http.IncomingMessage.prototype.accepts = function(type){ } }; +/** + * Return the value of param `name` when present. + * + * - Checks route plac...
req.param() docs
expressjs_express
train
affb13c5f2fff4d910cdaade0b2a85e6b2d8ceca
diff --git a/lib/knife-cloudformation/aws_commons.rb b/lib/knife-cloudformation/aws_commons.rb index <HASH>..<HASH> 100644 --- a/lib/knife-cloudformation/aws_commons.rb +++ b/lib/knife-cloudformation/aws_commons.rb @@ -69,11 +69,44 @@ module KnifeCloudformation @memo[:stack_list][key] end - def stack(n...
Allow slim stack loads via summaries
sparkleformation_sfn
train
4aed17b8427aa8a584d9a8ff0416177d0813036c
diff --git a/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/suites/DeploymentOverlayTestCase.java b/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/suites/DeploymentOverlayTestCase.java index <HASH>..<HASH> 100644 --- a/testsuite/domain/src/test/java/org/jboss/as/test/integratio...
[WFCORE-<I>] The DeploymentOverlayTestCase is part of the CLITestSuite and should use the static methods from that suite instead of the DomainTestSuite.
wildfly_wildfly-core
train
71f9fdf4078fff03950b1453fe0111d60367c38d
diff --git a/src/nano-memoize.js b/src/nano-memoize.js index <HASH>..<HASH> 100644 --- a/src/nano-memoize.js +++ b/src/nano-memoize.js @@ -74,6 +74,7 @@ var l = maxargs||arguments.length, i; for(i=k.length-1;i>=0;i--) { // an array of arrays of args, each array represents a call signature + if (!max...
Fix caching with mixed varg length.
anywhichway_nano-memoize
train
08a9ea854e02abd20f224bcaffb4fdd3d62d9b9b
diff --git a/src/application.js b/src/application.js index <HASH>..<HASH> 100644 --- a/src/application.js +++ b/src/application.js @@ -2,6 +2,7 @@ export default function getApplicationClass(Cursor, Loop) { class Application { constructor() { this.__redrawBinded = this.redraw.bind(this); + this.__cu...
tests: applicationTest: Add some tests
kuraga_rotorjs
train
372e5d5267ad4566fca8bd78364233d38c9756e9
diff --git a/gpio.js b/gpio.js index <HASH>..<HASH> 100644 --- a/gpio.js +++ b/gpio.js @@ -30,6 +30,8 @@ var _export = function(n) { var GPIO = function(number, dir) { var self = this; + this.fnStack = {}; + this.number = number; this.value = 0; @@ -45,7 +47,10 @@ var GPIO = function(number, dir) { this._g...
on, off, trigger valueChange
EnotionZ_gpio
train
762d6300ff6b3440a7226e4af2d3fbd9ecdcd9a8
diff --git a/lib/APRSMessage.js b/lib/APRSMessage.js index <HASH>..<HASH> 100644 --- a/lib/APRSMessage.js +++ b/lib/APRSMessage.js @@ -1,10 +1,18 @@ 'use strict'; function APRSMessage(from, to, digiArray) { + this.setHeaderInfo(from, to, digiArray); +} + +APRSMessage.prototype.setRawData = function (rawString) {...
Parse doesn't throw exceptions, all errors should be included in errors array
adriann0_npm-aprs-parser
train
9c8f24601fd0d8fb299bd9fd499bc22d49896502
diff --git a/plugins/inputs/rabbitmq/rabbitmq.go b/plugins/inputs/rabbitmq/rabbitmq.go index <HASH>..<HASH> 100644 --- a/plugins/inputs/rabbitmq/rabbitmq.go +++ b/plugins/inputs/rabbitmq/rabbitmq.go @@ -155,17 +155,12 @@ var sampleConfig = ` ## Optional request timeouts ## - ## ResponseHeaderTimeout, if non-ze...
rabbitmq, decrease timeout verbosity in config
influxdata_telegraf
train
90acabd8117e15e91de066ca85ff0315f1a98f63
diff --git a/zappa/wsgi.py b/zappa/wsgi.py index <HASH>..<HASH> 100644 --- a/zappa/wsgi.py +++ b/zappa/wsgi.py @@ -81,10 +81,15 @@ def create_wsgi_request(event_info, body = body.encode("utf-8") # Make header names canonical, e.g. content-type => Content-Type + # https://github.com/Mi...
Do not modify the `headers` dict while it is being iterated. Modifying a dict while it is being iterated causes unexpected behavior. In this case, some headers may not get canonicalized. `Content-Type` in particular has caused issues when it does not get canonicalized because it fails the check at line <I>.
Miserlou_Zappa
train
16677b8147dad642730066afe8841e81bbb75ce0
diff --git a/lib/MetaTemplate/Template/CoffeeScriptTemplate.php b/lib/MetaTemplate/Template/CoffeeScriptTemplate.php index <HASH>..<HASH> 100644 --- a/lib/MetaTemplate/Template/CoffeeScriptTemplate.php +++ b/lib/MetaTemplate/Template/CoffeeScriptTemplate.php @@ -23,7 +23,7 @@ class CoffeeScriptTemplate extends Base ...
Setting standard path if $_SERVER['PATH'] is not available.
CHH_meta-template
train
6f554ec3161cca6c09ed21302170ee21e40b9df3
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index <HASH>..<HASH> 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -26,6 +26,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima TinkerPop 3.3.0 (Release Date: NOT OFFICIALLY RELEASED YET) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
removed deprecated AndP/OrP/ConnectiveP constructors.
apache_tinkerpop
train
0aebca9f25724d75178d31c88c0ee2ac1474ec1a
diff --git a/activesupport/lib/active_support/message_encryptor.rb b/activesupport/lib/active_support/message_encryptor.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/message_encryptor.rb +++ b/activesupport/lib/active_support/message_encryptor.rb @@ -53,7 +53,7 @@ module ActiveSupport # cry...
Fix small typo in docs [ci skip]
rails_rails
train
41ecd0c0ce485eedd62ef4a0bcaa38661a7790f9
diff --git a/django_extensions/management/commands/sqldiff.py b/django_extensions/management/commands/sqldiff.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/sqldiff.py +++ b/django_extensions/management/commands/sqldiff.py @@ -590,7 +590,13 @@ to check/debug ur models compared to the real da...
basic support for multi database django
django-extensions_django-extensions
train
e3c7203a88b874300a23465745ee941d9a386ae5
diff --git a/src/commands/view/OpenStyleManager.js b/src/commands/view/OpenStyleManager.js index <HASH>..<HASH> 100644 --- a/src/commands/view/OpenStyleManager.js +++ b/src/commands/view/OpenStyleManager.js @@ -45,7 +45,7 @@ module.exports = { this.panel.set('appendContent', this.$cn).trigger('change:appendConte...
Manage multiple selection with StyleManager and TraitManager
artf_grapesjs
train
a0fadddf380bb1a996e7cd30bcecfebdd917d42d
diff --git a/owslib/csw.py b/owslib/csw.py index <HASH>..<HASH> 100644 --- a/owslib/csw.py +++ b/owslib/csw.py @@ -323,15 +323,15 @@ class CatalogueServiceWeb: etree.SubElement(node1, util.nspath_eval('csw:ElementSetName', namespaces)).text = esn - if len(constraints) > 0: + ...
CQL and filters are one or the other
geopython_OWSLib
train
8ba1051dcc18e22080088aad65f386ca259bb3c9
diff --git a/test/server/router.test.js b/test/server/router.test.js index <HASH>..<HASH> 100644 --- a/test/server/router.test.js +++ b/test/server/router.test.js @@ -311,6 +311,31 @@ describe("server/router", function() { this.req = { route: expressRoute, params: params, rendrApp: rendrApp }; }); + it...
add additional test for getHandler functionality
rendrjs_rendr
train
ff17efc1fc738ae2d763f293212af1bbdb4c6946
diff --git a/lib/haml/helpers.rb b/lib/haml/helpers.rb index <HASH>..<HASH> 100644 --- a/lib/haml/helpers.rb +++ b/lib/haml/helpers.rb @@ -14,7 +14,7 @@ module Haml # Returns whether or not ActionView is installed on the system. def self.action_view? - @@action_view + defined?(ActionView) end...
Should fix interactions with other Rails plugins, namely simply_helpful.
sass_ruby-sass
train
a007a5b57ac58c571225c6936678182d046964e3
diff --git a/test/unit/test_utils.py b/test/unit/test_utils.py index <HASH>..<HASH> 100644 --- a/test/unit/test_utils.py +++ b/test/unit/test_utils.py @@ -31,27 +31,6 @@ def get_response_mock(url): return response -def get_session_resolve_redirects(response_urls, final_exceptions): - ''' Get a mock for requ...
Remove get_session_resolve_redirects function The function is not used after refactoring tests for RedirectUrlResolver.
piotr-rusin_spam-lists
train
abc486c2c5d6b9e9a82f8759cf8dbb9b8745c3dc
diff --git a/src/Module.php b/src/Module.php index <HASH>..<HASH> 100644 --- a/src/Module.php +++ b/src/Module.php @@ -114,7 +114,8 @@ class Module 'melis-backoffice/application-MelisInstaller/default', 'melis-backoffice/MelisInstaller', ); - if (in_array($matchedRouteName, $excludedRoutes...
added console handling otherwise it breaks beacause of authentification.
melisplatform_melis-core
train
c81b129669622496a81b6b9a79ea1fa438481c84
diff --git a/ezp/Persistence/User/Handler.php b/ezp/Persistence/User/Handler.php index <HASH>..<HASH> 100644 --- a/ezp/Persistence/User/Handler.php +++ b/ezp/Persistence/User/Handler.php @@ -76,6 +76,8 @@ interface Handler * Load roles assigned to a user/group (not including inherited roles) * * @para...
PHPDoc: Add more doc on in userHandler
ezsystems_ezpublish-kernel
train
bbf8c0b087ef66fd6f02a6b6a8b3506d3db42b3f
diff --git a/Version.php b/Version.php index <HASH>..<HASH> 100644 --- a/Version.php +++ b/Version.php @@ -4,10 +4,10 @@ namespace Netgen\TagsBundle; abstract class Version { - const VERSION = '3.0.0-DEV'; + const VERSION = '3.0.0-RC1'; const VERSION_ID = 30000; const MAJOR_VERSION = 3; const M...
<I> RC1 release
netgen_TagsBundle
train
264ea59b09c0ee6040a8e8988458e33cda1c4c92
diff --git a/src/Transaction/CreditCardTransaction.php b/src/Transaction/CreditCardTransaction.php index <HASH>..<HASH> 100644 --- a/src/Transaction/CreditCardTransaction.php +++ b/src/Transaction/CreditCardTransaction.php @@ -200,7 +200,7 @@ class CreditCardTransaction extends Transaction implements Reservable ...
#<I> Add check if recurring payment
wirecard_paymentSDK-php
train
c64636075fe6063359e44bffa421798e6564d70e
diff --git a/java/server/src/org/openqa/selenium/grid/distributor/local/LocalDistributor.java b/java/server/src/org/openqa/selenium/grid/distributor/local/LocalDistributor.java index <HASH>..<HASH> 100644 --- a/java/server/src/org/openqa/selenium/grid/distributor/local/LocalDistributor.java +++ b/java/server/src/org/op...
[grid] Use a multimap in the right place
SeleniumHQ_selenium
train
1e5dbc491395c18c9177da6e3661b646a876a7cd
diff --git a/lib/phoenx/use_cases/generate_target.rb b/lib/phoenx/use_cases/generate_target.rb index <HASH>..<HASH> 100755 --- a/lib/phoenx/use_cases/generate_target.rb +++ b/lib/phoenx/use_cases/generate_target.rb @@ -33,14 +33,7 @@ module Phoenx resources.each do |source| - group = @project.main_group....
Added convenience function to files to projects
jensmeder_Phoenx
train
d2f7d0995b5431c40bdc469a8493cb250441f5ef
diff --git a/py/testdir_0xdata_only/test_DeepLearning_mnist.py b/py/testdir_0xdata_only/test_DeepLearning_mnist.py index <HASH>..<HASH> 100644 --- a/py/testdir_0xdata_only/test_DeepLearning_mnist.py +++ b/py/testdir_0xdata_only/test_DeepLearning_mnist.py @@ -49,7 +49,7 @@ class Basic(unittest.TestCase): 'i...
Remove unneeded variable in DeepLearning Mnist py script. Also reduce mini-batch size to 1 epoch for better accuracy.
h2oai_h2o-2
train
0fdda659f183b348a9751baa8bc5d642b9b908ef
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -80,7 +80,7 @@ Remit.prototype.res = function res (event, callback, context, options) { } else { const time_to_wait = parseInt(message.properties.timestamp - new Date().getTime()) ...
Tiny fix to ensure that a timer isn't created for messages that can be processed now.
jpwilliams_remit
train
56b28044eddee3e50346aa3a4c3126208ddd9d22
diff --git a/src/server/pps/cmds/cmds.go b/src/server/pps/cmds/cmds.go index <HASH>..<HASH> 100644 --- a/src/server/pps/cmds/cmds.go +++ b/src/server/pps/cmds/cmds.go @@ -345,6 +345,38 @@ All jobs created by a pipeline will create commits in the pipeline's repo. }), } + startPipeline := &cobra.Command{ + Use: ...
Adds start/stop pipeline to pachctl.
pachyderm_pachyderm
train
a2f8503a588094c22ae5d4774758be9886c74e5d
diff --git a/lib/dill/widgets.rb b/lib/dill/widgets.rb index <HASH>..<HASH> 100644 --- a/lib/dill/widgets.rb +++ b/lib/dill/widgets.rb @@ -5,14 +5,14 @@ # Widget parts encapsulate the set of behaviours that constitute a widget. module Dill module Constructors - def Widget(selector) - WidgetClass.new(select...
[widget] Write short forms with Widget() short form.
mojotech_capybara-ui
train
0d44183c616e18432717514a27bbe122fd5cc1e7
diff --git a/utils/tests/tests_online.py b/utils/tests/tests_online.py index <HASH>..<HASH> 100644 --- a/utils/tests/tests_online.py +++ b/utils/tests/tests_online.py @@ -358,7 +358,7 @@ class TestStatsBitMapCounter(RedisMixin, TestCase, CleanMixin): if __name__ == '__main__': parser = argparse.ArgumentParser(des...
Don't require a redis-host The default is set to “localhost”, so it will use that if not specified.
istresearch_scrapy-cluster
train
140652549fd3db5a8ea9921e7e48c37278bfa728
diff --git a/.tito/lib/origin/common.py b/.tito/lib/origin/common.py index <HASH>..<HASH> 100644 --- a/.tito/lib/origin/common.py +++ b/.tito/lib/origin/common.py @@ -33,7 +33,8 @@ def get_os_git_vars(): git_vars = {} for var_name in ["OS_GIT_COMMIT", "OS_GIT_VERSION", "OS_GIT_MAJOR", "OS_GIT_MINOR", "OS_GIT_...
Injecting new required vars into origin.spec file
openshift_origin
train
835ceacdbeff7017b3100eae7d4d23d81a211f6b
diff --git a/timeside/decoder/core.py b/timeside/decoder/core.py index <HASH>..<HASH> 100644 --- a/timeside/decoder/core.py +++ b/timeside/decoder/core.py @@ -62,6 +62,8 @@ class FileDecoder(Processor): # and make a uri of it from urllib import quote self.uri = 'file://'+quote(uri...
keep all URIs (regr)
Parisson_TimeSide
train
1d088bd39ebd0b6619020f08101b62da0725e765
diff --git a/test/augmenters/test_meta.py b/test/augmenters/test_meta.py index <HASH>..<HASH> 100644 --- a/test/augmenters/test_meta.py +++ b/test/augmenters/test_meta.py @@ -70,6 +70,11 @@ def test_Noop(): images = create_random_images((16, 70, 50, 3)) keypoints = create_random_keypoints((16, 70, 50, 3), 4...
Add tests for polygon aug in Noop
aleju_imgaug
train
7e61df8b85f6e0885f9d9708a371692cf3a81eb4
diff --git a/src/Controller/Component/SecurityComponent.php b/src/Controller/Component/SecurityComponent.php index <HASH>..<HASH> 100644 --- a/src/Controller/Component/SecurityComponent.php +++ b/src/Controller/Component/SecurityComponent.php @@ -289,7 +289,7 @@ class SecurityComponent extends Component { if (strpos...
Remove unneeded unset() call. SecurityComponent doesn't deal with csrf token anymore.
cakephp_cakephp
train
112dd7cee458b867f0851c502d0c2d4a06c964de
diff --git a/alot/helper.py b/alot/helper.py index <HASH>..<HASH> 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -129,7 +129,7 @@ def string_decode(string, enc='ascii'): def shorten(string, maxlen): """shortens string if longer than maxlen, appending ellipsis""" if 1 < maxlen < len(string): - str...
alot/helper: print ellipsis in code Since the file is encoded in utf-8 we can actually print the ellipsis. Most people can more readily read that than the raw utf-8 escape.
pazz_alot
train
7603e0bef4ee522ec43e30537ac65ccc54a0196e
diff --git a/src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java b/src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java +++ b/src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java @...
Trivial refactoring: Remove redundant initializer
apache_groovy
train
0f780d6f4bee929961dd732cb3f43e03d4c4bef7
diff --git a/src/main/java/io/nats/client/impl/NatsConnection.java b/src/main/java/io/nats/client/impl/NatsConnection.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/nats/client/impl/NatsConnection.java +++ b/src/main/java/io/nats/client/impl/NatsConnection.java @@ -309,10 +309,14 @@ class NatsConnection implem...
Minor fix in ping tests, added support for custom info in fake server, created tests for info handling code.
nats-io_java-nats
train
2a8007aa97b65b275f480bd2921f7d259fe760ff
diff --git a/testing/provisioner.go b/testing/provisioner.go index <HASH>..<HASH> 100644 --- a/testing/provisioner.go +++ b/testing/provisioner.go @@ -10,6 +10,7 @@ import ( "github.com/globocom/tsuru/provision" "io" "strconv" + "sync" "time" ) @@ -96,9 +97,10 @@ type failure struct { type FakeProvisioner s...
testing: fix some racy code in FakeProvisioner
tsuru_tsuru
train
1772cb2c7855d95b960a5ff36a3148dc7a81fce3
diff --git a/fasta/fastq.py b/fasta/fastq.py index <HASH>..<HASH> 100644 --- a/fasta/fastq.py +++ b/fasta/fastq.py @@ -37,8 +37,13 @@ class FASTQ(FASTA): #----------------------------- Properties --------------------------------# @property_cached def count(self): + # Import module # from ...
Fix counting sequences in FASTQ file for SRA extracted files
xapple_fasta
train
b39437af712eb14226d59f36bed4afea5236bfd2
diff --git a/lib/Goetas/Mail/ToSwiftMailParser/MimeParser.php b/lib/Goetas/Mail/ToSwiftMailParser/MimeParser.php index <HASH>..<HASH> 100644 --- a/lib/Goetas/Mail/ToSwiftMailParser/MimeParser.php +++ b/lib/Goetas/Mail/ToSwiftMailParser/MimeParser.php @@ -92,8 +92,7 @@ class MimeParser { try { //...
Avoid PHP notice when getting transfer encoding
goetas_to-swift-mime-parser
train
01b3f815e1fa705fe978553003a017786919189a
diff --git a/ddmrp_history/models/ddmrp_history.py b/ddmrp_history/models/ddmrp_history.py index <HASH>..<HASH> 100644 --- a/ddmrp_history/models/ddmrp_history.py +++ b/ddmrp_history/models/ddmrp_history.py @@ -3,8 +3,8 @@ # (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.htm...
[MIG] ddmrp_adjustment: Migration to <I>
OCA_ddmrp
train
c99335e3b2af28e9a1844eba4b991af746bee001
diff --git a/lib/paper_trail/reifier.rb b/lib/paper_trail/reifier.rb index <HASH>..<HASH> 100644 --- a/lib/paper_trail/reifier.rb +++ b/lib/paper_trail/reifier.rb @@ -321,22 +321,22 @@ module PaperTrail end def reify_has_and_belongs_to_many(transaction_id, model, options = {}) - model.class.refle...
Rename block-local variable to assoc "assoc" is conventional in Reifier
paper-trail-gem_paper_trail
train
d0a4f138fd2fe0fb13d0f6a95bdd1d0513db71de
diff --git a/lib/flame/render.rb b/lib/flame/render.rb index <HASH>..<HASH> 100644 --- a/lib/flame/render.rb +++ b/lib/flame/render.rb @@ -124,7 +124,7 @@ module Flame return content unless @layout layout_files = find_layouts(@layout) return content if layout_files.empty? - layout_files.each_with_object(c...
Fix PlainTemplate replacing for itslef with layout
AlexWayfer_flame
train
d4d692477d8ab3aa123461f396164834ec7fa43f
diff --git a/ph-validation/src/main/java/com/helger/validation/validator/IBaseValidator.java b/ph-validation/src/main/java/com/helger/validation/validator/IBaseValidator.java index <HASH>..<HASH> 100644 --- a/ph-validation/src/main/java/com/helger/validation/validator/IBaseValidator.java +++ b/ph-validation/src/main/ja...
Added @FunctionalInterface
phax_ph-masterdata
train
b8c90c36444b9c239935b470cb04adddf09e2c60
diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb index <HASH>..<HASH> 100644 --- a/actionview/lib/action_view/template.rb +++ b/actionview/lib/action_view/template.rb @@ -298,9 +298,6 @@ module ActionView compile(mod) end - # Just discard th...
Don't discard source after rendering Previously, we would discard the template source after rendering, if we had a virtual path, in hopes that the virtual path would let us find our same template again going through the Resolver. Previously we discarded the source as an optimization, to avoid keeping it around in mem...
rails_rails
train
d891896248555c65c2c4212fe57b087a99634537
diff --git a/src/axelitus/Base/String.php b/src/axelitus/Base/String.php index <HASH>..<HASH> 100644 --- a/src/axelitus/Base/String.php +++ b/src/axelitus/Base/String.php @@ -48,22 +48,23 @@ class String extends PrimitiveString * The given values $a and $b must be of type string. For the sake of this implementati...
Based the areEqual() function to the new compare() function and make use of the str() function to validate arguments.
axelitus_php-base
train
8c0e5029a0cea711453cb6da3e6bfe8b3b5d4470
diff --git a/src/Symfony/Bundle/DoctrineBundle/Command/Proxy/ConvertMappingDoctrineCommand.php b/src/Symfony/Bundle/DoctrineBundle/Command/Proxy/ConvertMappingDoctrineCommand.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Command/Proxy/ConvertMappingDoctrineCommand.php +++ b/src/Symfony/Bundle/...
[DoctrineBundle] fixed extensions of generated files
symfony_symfony
train
e0065c9da1e295cad710aa2d467487e67d06625d
diff --git a/blockstack_client/operations/transfer.py b/blockstack_client/operations/transfer.py index <HASH>..<HASH> 100644 --- a/blockstack_client/operations/transfer.py +++ b/blockstack_client/operations/transfer.py @@ -137,7 +137,7 @@ def make_transaction(name, destination_address, keepdata, consensus_hash, old_ow ...
log absence of UTXOs with address
blockstack_blockstack-core
train
add0e825faee1d5d4d20e9abfb40c8202782ee38
diff --git a/bundles/org.eclipse.orion.client.cf/web/orion/cfui/logView.js b/bundles/org.eclipse.orion.client.cf/web/orion/cfui/logView.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.cf/web/orion/cfui/logView.js +++ b/bundles/org.eclipse.orion.client.cf/web/orion/cfui/logView.js @@ -74,9 +74,18 @...
Defect <I> - Orion Web IDE runtime logs view resetting focus when selecting search result
eclipse_orion.client
train
fc39593a088627c8b8dbbde213ae2086900ec157
diff --git a/src/python/grpcio_tests/tests/unit/_invocation_defects_test.py b/src/python/grpcio_tests/tests/unit/_invocation_defects_test.py index <HASH>..<HASH> 100644 --- a/src/python/grpcio_tests/tests/unit/_invocation_defects_test.py +++ b/src/python/grpcio_tests/tests/unit/_invocation_defects_test.py @@ -249,3 +24...
Add missing unittest.main call This should have been included in <I>a2f1f<I>b<I>e<I>c<I>e<I>aed9.
grpc_grpc
train
1b1c7fa913f17aec37ea2bd74908bafee1f4c200
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,26 +32,25 @@ setup( 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ...
Minimal installation with pycodestyle and isort
cemsbr_yala
train
506822906e20b713d1d06b8a3e9b10bb04d803dc
diff --git a/kafka/metrics/metrics.py b/kafka/metrics/metrics.py index <HASH>..<HASH> 100644 --- a/kafka/metrics/metrics.py +++ b/kafka/metrics/metrics.py @@ -257,3 +257,5 @@ class Metrics(object): """Close this metrics repository.""" for reporter in self._reporters: reporter.close() + + ...
Clear the metrics dictionary on close. (#<I>)
dpkp_kafka-python
train
32b54eed8ffd01090bfa492a60460eb48d02404b
diff --git a/asciimathml.py b/asciimathml.py index <HASH>..<HASH> 100644 --- a/asciimathml.py +++ b/asciimathml.py @@ -26,7 +26,7 @@ def El(tag, text=None, *children, **attrib): element = Element_(tag, **attrib) if not text is None: - if isinstance(text, basestring): + if isinstance(text, str)...
Port this to python 3.x.
favalex_python-asciimathml
train
f0b5b3084c23ed8dbb89b2978ba731d069410441
diff --git a/proso_ab/middleware.py b/proso_ab/middleware.py index <HASH>..<HASH> 100644 --- a/proso_ab/middleware.py +++ b/proso_ab/middleware.py @@ -1,11 +1,7 @@ import models -import logging - -LOGGER = logging.getLogger(__name__) class ABMiddleware: def process_request(self, request): models.E...
fix AB experiments for lazy user and the first request
adaptive-learning_proso-apps
train
b8567244438d111631d82a861d0f38a911c1bddf
diff --git a/main.go b/main.go index <HASH>..<HASH> 100644 --- a/main.go +++ b/main.go @@ -31,23 +31,7 @@ func parseBSON(r io.Reader) ([]map[string]interface{}, error) { return ops, nil } -func main() { - speed := flag.Float64("speed", 1, "Sets multiplier for playback speed.") - host := flag.String("host", "localh...
Move replay to a function for easier testing.
Clever_ARCHIVED-oplog-replay
train
5fa2e365dd94c666682ec949d92a24167eaeae07
diff --git a/ds4drv/__main__.py b/ds4drv/__main__.py index <HASH>..<HASH> 100644 --- a/ds4drv/__main__.py +++ b/ds4drv/__main__.py @@ -91,7 +91,7 @@ class DS4Controller(object): self.load_profile(self.profiles[next_index]) def handle_binding_action(self, report, action): - info = dict(name=self.d...
Use the pretty name instead of device name in the action vars.
chrippa_ds4drv
train
8181311e1bbf2459ed9bac6845e328461549b3e1
diff --git a/packages/Lists/src/listItem.js b/packages/Lists/src/listItem.js index <HASH>..<HASH> 100644 --- a/packages/Lists/src/listItem.js +++ b/packages/Lists/src/listItem.js @@ -27,8 +27,8 @@ const Li = styled.li` user-select: ${props => props.hoverable ? 'none' : 'auto'}; &:hover { - cursor: ${props =>...
:art: The hoverable property has been added as a default prop Now it's active by default but it can be disabled
slupjs_slup
train
7cfa0fce399f3dae0b3ee3b600b1019c0c959feb
diff --git a/core/src/ons/index.js b/core/src/ons/index.js index <HASH>..<HASH> 100644 --- a/core/src/ons/index.js +++ b/core/src/ons/index.js @@ -512,11 +512,11 @@ function waitDeviceReady() { const unlockDeviceReady = ons._readyLock.lock(); window.addEventListener('DOMContentLoaded', () => { if (ons.isWebV...
perf(core): call DOMContentLoaded and deviceready just once
OnsenUI_OnsenUI
train
5dbd32543183e3adf1b35a20a17ed11f8f81d4bb
diff --git a/worker/execution/oo-execution-impl/src/main/java/com/hp/oo/execution/services/ExecutionServiceImpl.java b/worker/execution/oo-execution-impl/src/main/java/com/hp/oo/execution/services/ExecutionServiceImpl.java index <HASH>..<HASH> 100644 --- a/worker/execution/oo-execution-impl/src/main/java/com/hp/oo/exec...
fix defect #<I> - Studio Remote Debugger wrong stack tree after resuming execution
CloudSlang_score
train
f134d06e41804f1ec760270bcf7f83cd15e8de97
diff --git a/src/Models/HCCity.php b/src/Models/HCCity.php index <HASH>..<HASH> 100644 --- a/src/Models/HCCity.php +++ b/src/Models/HCCity.php @@ -30,14 +30,14 @@ declare(strict_types = 1); namespace HoneyComb\Regions\Models; use HoneyComb\Core\Models\Traits\HCTranslation; -use HoneyComb\Starter\Models\HCUuidModel;...
fix hcuuidmodel with soft models
honey-comb_regions
train
b5054589e32c45948c3b77bcc57b165773bde388
diff --git a/tests/search/SearchFormTest.php b/tests/search/SearchFormTest.php index <HASH>..<HASH> 100644 --- a/tests/search/SearchFormTest.php +++ b/tests/search/SearchFormTest.php @@ -12,18 +12,6 @@ class SearchFormTest extends FunctionalTest { protected $mockController; - protected $requiredExtensions = arr...
MINOR Fixed unittest to use the correct way of setting up Fulltextsearch
silverstripe_silverstripe-reports
train
d3b39f04bf2fe53dbea7f0d986656a17f26c8ac5
diff --git a/lib/netsuite/records/custom_field_list.rb b/lib/netsuite/records/custom_field_list.rb index <HASH>..<HASH> 100644 --- a/lib/netsuite/records/custom_field_list.rb +++ b/lib/netsuite/records/custom_field_list.rb @@ -25,7 +25,12 @@ module NetSuite end def delete_custom_field(field) - cu...
Prevent custom fields with no scriptId from causing issues when updating a custom field
NetSweet_netsuite
train
44eb3b6e9eb0c5174dadb07afeddf5afaa743b26
diff --git a/lang/en_utf8/quiz_overview.php b/lang/en_utf8/quiz_overview.php index <HASH>..<HASH> 100644 --- a/lang/en_utf8/quiz_overview.php +++ b/lang/en_utf8/quiz_overview.php @@ -15,7 +15,7 @@ $string['optallattempts'] = 'all attempts'; $string['optallstudents'] = 'all \'$a\''; $string['optattemptsonly'] = '\'$a\...
For the overview report : MDL-<I> "Option to only show / export final grade" small improvement to UI. Include highlighted message in the form about what the current grading method is. Merged from <I> branch.
moodle_moodle
train
266058e67a737ac39b789cf6b012b8b457396a91
diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -499,10 +499,10 @@ class App { if ($cache === true) { self::$__cache = true; } + sort($objects); if ($plugin) { return $objects; } - sort($objec...
Moving the sort to also sort plugin objects, sorting in test removed
cakephp_cakephp
train
2eabeb920a7efd14c93e1f065ebf0a19655bf612
diff --git a/holoviews/__init__.py b/holoviews/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/__init__.py +++ b/holoviews/__init__.py @@ -55,7 +55,7 @@ def help(obj, visualization=False, ansi=True, backend='matplotlib'): print("\nTo view the visualization options applicable to this object or c...
Fixed the Store.info method to correctly support the backend argument
pyviz_holoviews
train
7699801a09a260d9a0b40908c399cc5bd0ea7af6
diff --git a/blockstack_cli_0.14.1/blockstack_registrar/registrar/drivers/webapp_driver.py b/blockstack_cli_0.14.1/blockstack_registrar/registrar/drivers/webapp_driver.py index <HASH>..<HASH> 100644 --- a/blockstack_cli_0.14.1/blockstack_registrar/registrar/drivers/webapp_driver.py +++ b/blockstack_cli_0.14.1/blockstac...
added displaying summary of pending registration (which state each registration is in)
blockstack_blockstack-core
train
d399faeb1ca1bc2ff161e667cc41105e7a5fd963
diff --git a/src/ng-pattern-restrict.js b/src/ng-pattern-restrict.js index <HASH>..<HASH> 100644 --- a/src/ng-pattern-restrict.js +++ b/src/ng-pattern-restrict.js @@ -128,7 +128,7 @@ angular.module('ngPatternRestrict', []) function revertToPreviousValue() { iElement.val(oldValue); - ...
checking null as well as undefined (#<I>)
AlphaGit_ng-pattern-restrict
train
443fd474ca22f476f99b3c803ba11b21b2c4bace
diff --git a/src/Scrollbars/defaultRenderElements.js b/src/Scrollbars/defaultRenderElements.js index <HASH>..<HASH> 100644 --- a/src/Scrollbars/defaultRenderElements.js +++ b/src/Scrollbars/defaultRenderElements.js @@ -11,8 +11,7 @@ export function renderTrackHorizontalDefault({ style, ...props }) { right: 2, ...
remove cursor style from tracks. closes #<I> #<I>
malte-wessel_react-custom-scrollbars
train
cbb1fa8292024701c3c7f8f1ac32ed956bbf087d
diff --git a/tests/PaginatedEndpointTest.php b/tests/PaginatedEndpointTest.php index <HASH>..<HASH> 100644 --- a/tests/PaginatedEndpointTest.php +++ b/tests/PaginatedEndpointTest.php @@ -50,4 +50,33 @@ class PaginatedEndpointTest extends TestCase { $this->assertEquals( 2, $requests[2]->getQuery()->get('page') ...
add OutOfRange tests for PaginatedEndpoint
GW2Treasures_gw2api
train
44b4729007c9a1be8121a92eafd2e866b341e803
diff --git a/src/main/java/one/util/streamex/OrderedCancellableSpliterator.java b/src/main/java/one/util/streamex/OrderedCancellableSpliterator.java index <HASH>..<HASH> 100644 --- a/src/main/java/one/util/streamex/OrderedCancellableSpliterator.java +++ b/src/main/java/one/util/streamex/OrderedCancellableSpliterator.ja...
OrderedCancellableSpliterator: make prefix/suffix volatile to fulfill JMM requirements
amaembo_streamex
train
2e11ee624a267d4320020b8c9b75c51d17548764
diff --git a/tools/src/main/java/com/graphhopper/tools/Measurement.java b/tools/src/main/java/com/graphhopper/tools/Measurement.java index <HASH>..<HASH> 100644 --- a/tools/src/main/java/com/graphhopper/tools/Measurement.java +++ b/tools/src/main/java/com/graphhopper/tools/Measurement.java @@ -260,12 +260,12 @@ public ...
measurement: clear path details usage, #<I>
graphhopper_graphhopper
train
bbe50df9da4c3bd75960832df92d08c0ffe06efc
diff --git a/tool/formula/src/test/java/org/openscience/cdk/formula/rules/FormulaRuleTest.java b/tool/formula/src/test/java/org/openscience/cdk/formula/rules/FormulaRuleTest.java index <HASH>..<HASH> 100644 --- a/tool/formula/src/test/java/org/openscience/cdk/formula/rules/FormulaRuleTest.java +++ b/tool/formula/src/te...
Some rules are not stateless, e.g. ElementRule
cdk_cdk
train
13c33ff6bcdc43da14a6d24e22aefe2934a63922
diff --git a/public/src/Route/Link.php b/public/src/Route/Link.php index <HASH>..<HASH> 100644 --- a/public/src/Route/Link.php +++ b/public/src/Route/Link.php @@ -27,9 +27,8 @@ class Link extends Route $setor = !empty($_SESSION['userlogin']) ? $_SESSION['userlogin']['setor'] : "0"; $this->param = Co...
return css and js by setor
edineibauer_uebRoute
train
45c4202ee88ef1191bbef4f0e743b4e7054dceb8
diff --git a/autofit/mapper/prior/gaussian.py b/autofit/mapper/prior/gaussian.py index <HASH>..<HASH> 100644 --- a/autofit/mapper/prior/gaussian.py +++ b/autofit/mapper/prior/gaussian.py @@ -8,57 +8,7 @@ from autofit.messages.normal import NormalMessage class GaussianPrior(NormalMessage): """A prior with a gaussi...
promoted all but __call__ to message
rhayes777_PyAutoFit
train
0392b9e323d41aff434f3e9a769198bc7a13251f
diff --git a/lib/client/data-manager.js b/lib/client/data-manager.js index <HASH>..<HASH> 100644 --- a/lib/client/data-manager.js +++ b/lib/client/data-manager.js @@ -80,7 +80,6 @@ function DataManager(datasetId, $fh, dataSetNotificationStream, mediator) { DataManager.prototype.addEvent = function addEvent(event) { ...
LIST updated datasets with _syncStatus
raincatcher-beta_raincatcher-sync
train
314b6cb32bb9de4358e2125419182a325dce85de
diff --git a/pkg/kubectl/cmd/auth/cani.go b/pkg/kubectl/cmd/auth/cani.go index <HASH>..<HASH> 100644 --- a/pkg/kubectl/cmd/auth/cani.go +++ b/pkg/kubectl/cmd/auth/cani.go @@ -76,7 +76,7 @@ var ( kubectl auth can-i create pods --all-namespaces # Check to see if I can list deployments in my current namespace - k...
[auth]Change example in can-i to apps instead of extensions
kubernetes_kubernetes
train
bf5a8df8862d583d951eff1128c19f9251c19071
diff --git a/worker/lease/manager_block_test.go b/worker/lease/manager_block_test.go index <HASH>..<HASH> 100644 --- a/worker/lease/manager_block_test.go +++ b/worker/lease/manager_block_test.go @@ -72,6 +72,43 @@ func (s *WaitUntilExpiredSuite) TestLeadershipExpires(c *gc.C) { }) } +func (s *WaitUntilExpiredSuite...
Adds test to ensure that lease manager block checks are rescheduled.
juju_juju
train
d5d3ccc747eac4cb547d7c0e594b384eece647bb
diff --git a/lib/cb/models/implementations/resume_listing.rb b/lib/cb/models/implementations/resume_listing.rb index <HASH>..<HASH> 100644 --- a/lib/cb/models/implementations/resume_listing.rb +++ b/lib/cb/models/implementations/resume_listing.rb @@ -11,12 +11,11 @@ module Cb module Models class ResumeListing ...
revert change to resume list to look for migration id
careerbuilder_ruby-cb-api
train
2eea177b50efec70f8a7c6d59d98af755c443a9f
diff --git a/lionengine-game/src/main/java/com/b3dgs/lionengine/game/map/TileExtractor.java b/lionengine-game/src/main/java/com/b3dgs/lionengine/game/map/TileExtractor.java index <HASH>..<HASH> 100644 --- a/lionengine-game/src/main/java/com/b3dgs/lionengine/game/map/TileExtractor.java +++ b/lionengine-game/src/main/jav...
#<I>: TileExtractor code reviewed.
b3dgs_lionengine
train
8c6f80ebd522eb9c5075a6aacdefc3f1aa5328c6
diff --git a/src/radical/entk/appman/wfprocessor.py b/src/radical/entk/appman/wfprocessor.py index <HASH>..<HASH> 100644 --- a/src/radical/entk/appman/wfprocessor.py +++ b/src/radical/entk/appman/wfprocessor.py @@ -16,8 +16,6 @@ import traceback import os import uuid -slow_run = os.environ.get('RADICAL_ENTK_SLOW',F...
checkpoint work on wfp
radical-cybertools_radical.entk
train
b26fe5984bbb57a24c72f50bb536a8f5ba3d528d
diff --git a/scapy/layers/inet.py b/scapy/layers/inet.py index <HASH>..<HASH> 100644 --- a/scapy/layers/inet.py +++ b/scapy/layers/inet.py @@ -1,4 +1,4 @@ -import os,time,struct,re,socket +import os,time,struct,re,socket,new from select import select from scapy.layers.l2 import * @@ -688,8 +688,29 @@ def defragment...
Moved PacketList.timeskew_graph() method to layers/inet.py
secdev_scapy
train
53b600513251e875a28c29041bd3ade38a00a2ef
diff --git a/src/com/google/javascript/jscomp/TypeInference.java b/src/com/google/javascript/jscomp/TypeInference.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/TypeInference.java +++ b/src/com/google/javascript/jscomp/TypeInference.java @@ -53,6 +53,7 @@ import com.google.javascript.rhino.jsty...
Automated g4 rollback of changelist <I>. *** Original change description *** Don't assign locally inferred unknown type, so it will infer further from the property type, if it is a property of the owner type. *** ------------- Created by MOE: <URL>
google_closure-compiler
train
853531b602e7e8ef4abd9c16a654ac6000495d35
diff --git a/examples/sparkfun_redbot/sparkfun_experiments/Exp6_LineFollowing_IRSensors.py b/examples/sparkfun_redbot/sparkfun_experiments/Exp6_LineFollowing_IRSensors.py index <HASH>..<HASH> 100644 --- a/examples/sparkfun_redbot/sparkfun_experiments/Exp6_LineFollowing_IRSensors.py +++ b/examples/sparkfun_redbot/sparkf...
Update COM_PORT constant for Exp6
MrYsLab_pymata-aio
train
066629c6f3422c83480545a6cee17a802a28c339
diff --git a/test/unit/tests.js b/test/unit/tests.js index <HASH>..<HASH> 100644 --- a/test/unit/tests.js +++ b/test/unit/tests.js @@ -197,6 +197,11 @@ window.onload = function(){ ok( '@media only screen and (max-width: 1280px) { }'.match( respond.regex.maxw ).length ); ok( '@media only screen and ( max-width: ...
Test showing #<I> was fixed.
scottjehl_Respond
train
a9a0dbcd88093ac51378f478039b988866ceb38a
diff --git a/lib/Anaglyph.js b/lib/Anaglyph.js index <HASH>..<HASH> 100644 --- a/lib/Anaglyph.js +++ b/lib/Anaglyph.js @@ -8,23 +8,22 @@ const THREE = require ( 'three' ) const WebGLRenderer = require ( './WebGLRenderer' ) -module.exports = function ( focalLength ) { +module.exports = function ( o...
Adding focalLength option.
lucidogen_lucy-three
train
95cd40257182dd293da852900b3177969fd03f06
diff --git a/simpleauth2/__init__.py b/simpleauth2/__init__.py index <HASH>..<HASH> 100644 --- a/simpleauth2/__init__.py +++ b/simpleauth2/__init__.py @@ -85,8 +85,6 @@ class User(object): class Credentials(object): - _types = ('OAuth1', 'OAuth2', 'OpenID') - def __init__(self, access_token, provid...
Serialized credentials now don't contain the provider type.
authomatic_authomatic
train
cf499da7ae9c18e01ff0c50eeb9b0e601d8e269f
diff --git a/packages/chrysalis-keymap/src/lib/chrysalis-keymap.js b/packages/chrysalis-keymap/src/lib/chrysalis-keymap.js index <HASH>..<HASH> 100644 --- a/packages/chrysalis-keymap/src/lib/chrysalis-keymap.js +++ b/packages/chrysalis-keymap/src/lib/chrysalis-keymap.js @@ -62,16 +62,16 @@ export default class Keymap {...
Fix some formatting mistakes, to make eslint happy
keyboardio_chrysalis-api
train
e605fc7f0d22ed5d62e3fc5dc83833db21263739
diff --git a/lib/xml_security.rb b/lib/xml_security.rb index <HASH>..<HASH> 100644 --- a/lib/xml_security.rb +++ b/lib/xml_security.rb @@ -90,7 +90,7 @@ module XMLSecurity hashed_element = document.at_xpath("//*[@ID='#{uri[1..-1]}']") canon_algorithm = canon_algorithm RE...
Detect already escaped ampersands
onelogin_ruby-saml
train
24cdcf23aa35bb394943b417527057843a5a007d
diff --git a/tethne/model/corpus/mallet.py b/tethne/model/corpus/mallet.py index <HASH>..<HASH> 100644 --- a/tethne/model/corpus/mallet.py +++ b/tethne/model/corpus/mallet.py @@ -121,14 +121,16 @@ class LDAModel(Model): """ mallet_path = os.path.join(os.getcwd(), 'tethne', 'bin', 'mallet-2.0.7') - mallet...
troubleshooting tempfile issues on Windows
diging_tethne
train
32806d823315d0e6847a3ec62815e359e232a89a
diff --git a/src/inscriptis/model/attribute.py b/src/inscriptis/model/attribute.py index <HASH>..<HASH> 100644 --- a/src/inscriptis/model/attribute.py +++ b/src/inscriptis/model/attribute.py @@ -65,6 +65,3 @@ class Attribute: attributes[a.attr] = a.apply if a.attr not in attributes \ else ...
chg: improved test coverage.
weblyzard_inscriptis
train
04a2df861db9d5eed5800f7335849d788acca99d
diff --git a/aws-sdk-core/lib/aws-sdk-core/client_stubs.rb b/aws-sdk-core/lib/aws-sdk-core/client_stubs.rb index <HASH>..<HASH> 100644 --- a/aws-sdk-core/lib/aws-sdk-core/client_stubs.rb +++ b/aws-sdk-core/lib/aws-sdk-core/client_stubs.rb @@ -68,7 +68,7 @@ module Aws # @param [Mixed] stubs One or more responses to...
Fixed a few yard doc issues.
aws_aws-sdk-ruby
train
8913cf1acce296caf6c2f3b1a7bcbc59402f3965
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/lsctables.py +++ b/glue/ligolw/lsctables.py @@ -1474,23 +1474,28 @@ class Segment(object): Return True if the segment is active, False if the segment is inactive and None if neither is the case. """ -...
Fix the get_active() and set_active() methods of the Segment class to match the usage in the segments database based on info from Duncan.
gwastro_pycbc-glue
train
27f37be77448cc98a56f4aa7472a33aa86a9d913
diff --git a/osm_api_tests.py b/osm_api_tests.py index <HASH>..<HASH> 100644 --- a/osm_api_tests.py +++ b/osm_api_tests.py @@ -13,15 +13,18 @@ def get_nominatim_response(query, include_geojson): conn = http.client.HTTPConnection('nominatim.openstreetmap.org') - for delay in (1, 2, 4): - conn....
Wrapped HTTP connections in try/except to allow retries
gboeing_osmnx
train
d5e2e404fdbf448599e41fa15ad83929c27fe15c
diff --git a/lib/puppet/pops/lookup/hiera_config.rb b/lib/puppet/pops/lookup/hiera_config.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/pops/lookup/hiera_config.rb +++ b/lib/puppet/pops/lookup/hiera_config.rb @@ -566,8 +566,8 @@ class HieraConfigV5 < HieraConfig tf = Types::TypeFactory nes_t = Types::PStrin...
(PUP-<I>) Relax URI type constraint in hiera.yaml This commit removes the requirement that an uri in the hiera.yaml must match a URI pattern. The only requirement now is that a URI can be created from the given string.
puppetlabs_puppet
train
fe76c79b1a6a2c53a02122ea8791b022e48f0ca4
diff --git a/src/main/java/com/hmsonline/storm/cassandra/bolt/mapper/TridentColumnMapper.java b/src/main/java/com/hmsonline/storm/cassandra/bolt/mapper/TridentColumnMapper.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/hmsonline/storm/cassandra/bolt/mapper/TridentColumnMapper.java +++ b/src/main/java/com/hmso...
deprecated methods that we should not need -- these should be fixed when composite range queries are implemented.
hmsonline_storm-cassandra
train
547999df256a5ac650eb012dabf713027b9bda1f
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,17 @@ +* Added `ActiveRecord::Base.to_param` for convenient "pretty" URLs derived from a model's attribute or method. + + Example: + + class...
Add AR::Base.to_param for convenient "pretty" URLs derived from a model's attribute or method.
rails_rails
train