hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
e038491f8acf1cb07c50eed286d6c45b5f32253d
diff --git a/lnd.go b/lnd.go index <HASH>..<HASH> 100644 --- a/lnd.go +++ b/lnd.go @@ -1,7 +1,6 @@ package main import ( - "context" "encoding/hex" "fmt" "io/ioutil" @@ -13,6 +12,8 @@ import ( "runtime" "strconv" + "golang.org/x/net/context" + "google.golang.org/grpc" proxy "github.com/grpc-ecosys...
lnd: fix build error for go <I>, use experimental context import This commit fixes a build error for go <I>. Before go <I>, the context package was under the experimental go packages, therefore to maintain compatibility across our currently supported versions, we must use the ‘/x/net’ import path.
lightningnetwork_lnd
train
go
fe2ba0c1930f300bdadd4ccc9ff0a1678b41556e
diff --git a/flask_appbuilder/security/manager.py b/flask_appbuilder/security/manager.py index <HASH>..<HASH> 100644 --- a/flask_appbuilder/security/manager.py +++ b/flask_appbuilder/security/manager.py @@ -101,7 +101,6 @@ class BaseSecurityManager(AbstractSecurityManager): """ OAuth tokengetter function override ...
BaseSecurityManager properties rework
dpgaspar_Flask-AppBuilder
train
py
2dbb3926fc2a25c8f6361eb2a557ef17bd74a2d6
diff --git a/java/client/src/org/openqa/selenium/opera/OperaOptions.java b/java/client/src/org/openqa/selenium/opera/OperaOptions.java index <HASH>..<HASH> 100644 --- a/java/client/src/org/openqa/selenium/opera/OperaOptions.java +++ b/java/client/src/org/openqa/selenium/opera/OperaOptions.java @@ -230,7 +230,7 @@ publi...
Fixing Opera browser name in the converted OperaOptions
SeleniumHQ_selenium
train
java
2a4be2bc2584c67abca102a79b9dafb5c65e202b
diff --git a/includes/class-freemius.php b/includes/class-freemius.php index <HASH>..<HASH> 100755 --- a/includes/class-freemius.php +++ b/includes/class-freemius.php @@ -18931,9 +18931,8 @@ $this->shoot_ajax_failure( sprintf( '%s... %s', $this->get_text_x_in...
[developer-license] [localization] No need to use the echo_x functions, the string is self explanatory and have no ambiguity.
Freemius_wordpress-sdk
train
php
bf684b1ee5fd5e11da1b3fb087efd2da0aad97aa
diff --git a/package.php b/package.php index <HASH>..<HASH> 100644 --- a/package.php +++ b/package.php @@ -4,7 +4,7 @@ require_once 'PEAR/PackageFileManager2.php'; -$version = '2.0.12'; +$version = '2.0.13'; $notes = <<<EOT No release notes for you! EOT;
prepare for release of <I> | package party
silverorange_swat
train
php
27e54b3bcb7dbae52d6768a78d417a9a3bac0988
diff --git a/test/Media/Serialization/MediaObjectSerializerTest.php b/test/Media/Serialization/MediaObjectSerializerTest.php index <HASH>..<HASH> 100644 --- a/test/Media/Serialization/MediaObjectSerializerTest.php +++ b/test/Media/Serialization/MediaObjectSerializerTest.php @@ -71,7 +71,7 @@ class MediaObjectSerializer...
III-<I>: Fix existing unit test for serialization of media objects
cultuurnet_udb3-php
train
php
0c5c2589121fc65b0e227e872a5974d8a2b6078d
diff --git a/DocBlox/Reflection/DocBlockedAbstract.php b/DocBlox/Reflection/DocBlockedAbstract.php index <HASH>..<HASH> 100644 --- a/DocBlox/Reflection/DocBlockedAbstract.php +++ b/DocBlox/Reflection/DocBlockedAbstract.php @@ -41,7 +41,7 @@ abstract class DocBlox_Reflection_DocBlockedAbstract extends DocBlox_Reflection...
Fixed issue where the opening brace was not seen as a delimiter when searching for an associated docblock by a structure
phpDocumentor_phpDocumentor2
train
php
0fe53600f491e12e25d331e4ffc5ad47d7db3c5a
diff --git a/openpyxl_templates/table_sheet/table_sheet.py b/openpyxl_templates/table_sheet/table_sheet.py index <HASH>..<HASH> 100644 --- a/openpyxl_templates/table_sheet/table_sheet.py +++ b/openpyxl_templates/table_sheet/table_sheet.py @@ -163,6 +163,8 @@ class TableSheet(TemplatedWorksheet): self.columns.a...
Add dynamic objects now returns the added object
SverkerSbrg_openpyxl-templates
train
py,py
69506ed07c66bc00f3d1cd38b762a81d5eb48f1b
diff --git a/models/classes/execution/class.KVDeliveryExecution.php b/models/classes/execution/class.KVDeliveryExecution.php index <HASH>..<HASH> 100755 --- a/models/classes/execution/class.KVDeliveryExecution.php +++ b/models/classes/execution/class.KVDeliveryExecution.php @@ -151,7 +151,7 @@ class taoDelivery_models_...
commit 6c3a<I>f<I>bf<I>c<I>ae<I>c<I>de<I> make a call outsite of kv interface
oat-sa_extension-tao-delivery
train
php
ea35783fc7dddf0668699438b7c4adf330507ebd
diff --git a/gsea-converter/src/main/java/org/biopax/paxtools/io/gsea/GSEAConverter.java b/gsea-converter/src/main/java/org/biopax/paxtools/io/gsea/GSEAConverter.java index <HASH>..<HASH> 100644 --- a/gsea-converter/src/main/java/org/biopax/paxtools/io/gsea/GSEAConverter.java +++ b/gsea-converter/src/main/java/org/biop...
code to handle case when protein does not have entity reference
BioPAX_Paxtools
train
java
64261ea653d642a75db5838430d3ba25ed6a3894
diff --git a/icy/icy.py b/icy/icy.py index <HASH>..<HASH> 100644 --- a/icy/icy.py +++ b/icy/icy.py @@ -134,7 +134,7 @@ def to_df(obj, cfg={}, raise_on_error=True, silent=False, verbose=False): if not raise_on_error: try: return to_df(obj=obj, cfg=cfg, raise_on_error=True) - except (pd....
explicitly handle IOError exception raised in to_df
jorahn_icy
train
py
0c08ec3724625eecd9f3ef71183c5627aa59b215
diff --git a/src/Megadraft.js b/src/Megadraft.js index <HASH>..<HASH> 100644 --- a/src/Megadraft.js +++ b/src/Megadraft.js @@ -76,6 +76,13 @@ class Megadraft extends Component { return null; } + blockStyleFn(contentBlock) { + const type = contentBlock.getType(); + if (type === "unstyled") { + retu...
Add block style function to style paragraphs.
globocom_megadraft
train
js
0282718881ef5a5da81401c7c337d4aed89c2c7d
diff --git a/src/ContaoCommunityAlliance/DcGeneral/Controller/Ajax3X.php b/src/ContaoCommunityAlliance/DcGeneral/Controller/Ajax3X.php index <HASH>..<HASH> 100644 --- a/src/ContaoCommunityAlliance/DcGeneral/Controller/Ajax3X.php +++ b/src/ContaoCommunityAlliance/DcGeneral/Controller/Ajax3X.php @@ -80,7 +80,7 @@ class A...
Fix an issue with the file picker.
contao-community-alliance_dc-general
train
php
01621243871dc240ae45f6698a9a7649053e9e03
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ try: shutil.copyfile(f, f.replace('pyontutils','export')) setup( name='pyontutils', - version='0.0.3', + version='0.0.4', description='utilities for working with the...
setup.py version bump to push out fix for utils.TODAY returning None
tgbugs_pyontutils
train
py
6d91f8a5b24f5be4fc5abd2fe8edb67a08750f0e
diff --git a/source/rafcon/core/execution/execution_status.py b/source/rafcon/core/execution/execution_status.py index <HASH>..<HASH> 100644 --- a/source/rafcon/core/execution/execution_status.py +++ b/source/rafcon/core/execution/execution_status.py @@ -34,8 +34,8 @@ class CustomCondition(Condition): A class whic...
fix(CustomCondition): No argument verbose in Python3 Condition
DLR-RM_RAFCON
train
py
7f9352f02bfaf96ced483eccd4e2d2038e877925
diff --git a/lib/active_remote/scope_keys.rb b/lib/active_remote/scope_keys.rb index <HASH>..<HASH> 100644 --- a/lib/active_remote/scope_keys.rb +++ b/lib/active_remote/scope_keys.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/module' + module ActiveRemote module ScopeKeys extend ActiveSupport::Concern @...
Use mattr_accessor to save state of scope key Instance variables in modules get messy with inheritance. This ensures that @_scope_keys is the same at the parent module and child module level.
liveh2o_active_remote
train
rb
178b950839e074a97a478c185331603f073289b7
diff --git a/Datagrid/PropelDatagrid.php b/Datagrid/PropelDatagrid.php index <HASH>..<HASH> 100644 --- a/Datagrid/PropelDatagrid.php +++ b/Datagrid/PropelDatagrid.php @@ -265,19 +265,17 @@ abstract class PropelDatagrid implements PropelDatagridInterface { $filters = $this->configureFilter(); - if...
Allow form with no filters in buildForm.
spyrit_PropelDatagridBundle
train
php
0171208a66bf84e7559cac8e419a7611f7f813df
diff --git a/lib/mako/feed_constructor.rb b/lib/mako/feed_constructor.rb index <HASH>..<HASH> 100644 --- a/lib/mako/feed_constructor.rb +++ b/lib/mako/feed_constructor.rb @@ -58,14 +58,13 @@ module Mako end end - # Atom and RSS Feedjira::Feed objects have different names for the - # article body. Re...
Fix issue with feed constructor not returning full article content
jonathanpike_mako
train
rb
11bdde6d8515d0c574b89ed295fe45d2b1884503
diff --git a/Models/Collection.php b/Models/Collection.php index <HASH>..<HASH> 100755 --- a/Models/Collection.php +++ b/Models/Collection.php @@ -16,8 +16,7 @@ class Collection implements \IteratorAggregate, \Countable, ArraySerializable */ public function __construct(array $collection = []) { - ...
refactoring checking typization
Antonyan_ddd-mappers-infrastructure
train
php
7abc997dd692c27600479ed0cc7d1080c8757b7d
diff --git a/bamboozle_unit_test.go b/bamboozle_unit_test.go index <HASH>..<HASH> 100644 --- a/bamboozle_unit_test.go +++ b/bamboozle_unit_test.go @@ -125,6 +125,13 @@ var ( } correctFilter, _ = builder.BuildBasicFilter(block, nil) + // a filter missing the first output of the block. + missingElementFilter, _ = b...
bamboozle test: add test for filter missing element
lightninglabs_neutrino
train
go
11680ac0af0007b99d7cddfc980426e0d16f7843
diff --git a/impl/src/main/java/org/jboss/weld/contexts/AbstractConversationContext.java b/impl/src/main/java/org/jboss/weld/contexts/AbstractConversationContext.java index <HASH>..<HASH> 100644 --- a/impl/src/main/java/org/jboss/weld/contexts/AbstractConversationContext.java +++ b/impl/src/main/java/org/jboss/weld/con...
WELD-<I> Synchronize creation of conversation ID generator to avoid race conditions.
weld_core
train
java
e65659c46da77b2b45cde11073447550502b57d4
diff --git a/src/types/boolean.test.js b/src/types/boolean.test.js index <HASH>..<HASH> 100644 --- a/src/types/boolean.test.js +++ b/src/types/boolean.test.js @@ -14,6 +14,8 @@ describe('boolean type', () => { it('check validators', () => { const booleanType = new BooleanType(); + booleanType.validators.ma...
test(types): Fix BooleanType validators testing
CheerlessCloud_twconf
train
js
99d6ea1fd1c4695e3a3479495762c7cde67439ad
diff --git a/src/Keboola/SSHTunnel/SSH.php b/src/Keboola/SSHTunnel/SSH.php index <HASH>..<HASH> 100644 --- a/src/Keboola/SSHTunnel/SSH.php +++ b/src/Keboola/SSHTunnel/SSH.php @@ -126,7 +126,9 @@ class SSH $fileName = (string) tempnam('/tmp/', 'ssh-key-'); file_put_contents($fileName, $key); - ...
Check if chmod is successful
keboola_ssh-tunnel
train
php
54f9e2e9eede2400bbbb1ba5d5627c8fb6da5dfb
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -27,7 +27,7 @@ PRIMARY = { 'yaml' => "yaml://#{temp_db_dir}/primary_yaml", 'sqlite3' => 'sqlite3::memory:', # 'sqlite3_fs' => "sqlite3://#{temp_db_dir}/primary.db", ...
Updated specs to run with root user explicitly when using MySQL adapter
datamapper_dm-core
train
rb
5975bbbdd978b9e58e7b6e3c44c48e9e9af20c50
diff --git a/src/main/java/org/deepsymmetry/beatlink/data/ArtFinder.java b/src/main/java/org/deepsymmetry/beatlink/data/ArtFinder.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/deepsymmetry/beatlink/data/ArtFinder.java +++ b/src/main/java/org/deepsymmetry/beatlink/data/ArtFinder.java @@ -305,11 +305,15 @@ pub...
Don't allow cache resizing while running.
Deep-Symmetry_beat-link
train
java
8a6038189f3a962d2e18cddca4481d24b0439036
diff --git a/drivers/python/rethinkdb/net.py b/drivers/python/rethinkdb/net.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/net.py +++ b/drivers/python/rethinkdb/net.py @@ -98,7 +98,7 @@ class Connection(object): try: self.socket = socket.create_connection((self.host, self.port), sel...
Include reason for failed connections in Python driver.
rethinkdb_rethinkdb
train
py
15f9e8e682f0b4111bfb782b6c1de44d0501bff3
diff --git a/lib/findPackage.js b/lib/findPackage.js index <HASH>..<HASH> 100644 --- a/lib/findPackage.js +++ b/lib/findPackage.js @@ -7,8 +7,11 @@ var getPackageFunction = function (platform) { return platform.match(/^android|ios$/) ? require('./packages/' + platform) : - function (grunt) { + function ...
Fix bug "Stop package-files task with firefox platform."
GrayBullet_grunt-cordova-ng
train
js
2cdbd43d9704e5b82f964fb45935319b82f10638
diff --git a/lib/active_remote/attributes.rb b/lib/active_remote/attributes.rb index <HASH>..<HASH> 100644 --- a/lib/active_remote/attributes.rb +++ b/lib/active_remote/attributes.rb @@ -175,11 +175,6 @@ module ActiveRemote @attributes = attributes end - # Overrides ActiveModel::AttributeMethods ...
Remove patch for rails < <I>
liveh2o_active_remote
train
rb
cf75ecdc80e2fceebfd51eb390bef7b4a252c6d4
diff --git a/lib/geoengineer/resources/aws/s3/aws_s3_bucket_object.rb b/lib/geoengineer/resources/aws/s3/aws_s3_bucket_object.rb index <HASH>..<HASH> 100644 --- a/lib/geoengineer/resources/aws/s3/aws_s3_bucket_object.rb +++ b/lib/geoengineer/resources/aws/s3/aws_s3_bucket_object.rb @@ -19,6 +19,9 @@ class GeoEngineer::...
Silence force_destroy updates for aws_s3_bucket_object A recent upgrade of the AWS provisioner seems to have resulted in unnecessary changes appearing for `aws_s3_bucket_object` resources. Fix these by interpreting an empty string for force_destroy as 'false'. This eliminates spurious plans like: ~ aws_s3_bucke...
coinbase_geoengineer
train
rb
454628e8e7235acb697e9e08d4ef00f0ae476626
diff --git a/apiserver/facades/client/machinemanager/machinemanager.go b/apiserver/facades/client/machinemanager/machinemanager.go index <HASH>..<HASH> 100644 --- a/apiserver/facades/client/machinemanager/machinemanager.go +++ b/apiserver/facades/client/machinemanager/machinemanager.go @@ -505,13 +505,7 @@ func (mm *Ma...
Use utily method to get machine from the tag.
juju_juju
train
go
0a0a8ec45ab0df1f5d35bd2881a9dea2b4f7cceb
diff --git a/contrib/externs/jasmine-2.0.js b/contrib/externs/jasmine-2.0.js index <HASH>..<HASH> 100644 --- a/contrib/externs/jasmine-2.0.js +++ b/contrib/externs/jasmine-2.0.js @@ -436,7 +436,7 @@ var DoneFunc; /** @type {DoneFunc} */ var doneFuncInst_; -/** @type {function()} */ +/** @type {function(?=)} */ don...
Add support for parameters in Jasmine fail() invocations. ------------- Created by MOE: <URL>
google_closure-compiler
train
js
00ce39e26ef8a597a8ade5cab8366ef54b4b8de3
diff --git a/js/therock.js b/js/therock.js index <HASH>..<HASH> 100644 --- a/js/therock.js +++ b/js/therock.js @@ -165,7 +165,7 @@ module.exports = class therock extends Exchange { 'open': parseFloat (ticker['open']), 'close': last, 'last': last, - 'previousCLose': pars...
minor typos in therock #<I>
ccxt_ccxt
train
js
e29786c0343f53e0ce908a8104b5e371964289e9
diff --git a/src/Auditable.php b/src/Auditable.php index <HASH>..<HASH> 100644 --- a/src/Auditable.php +++ b/src/Auditable.php @@ -230,7 +230,7 @@ trait Auditable 'auditable_type' => $this->getMorphClass(), 'user_id' => $this->resolveUserId(), 'url' => $this->res...
feat(Auditable): implement resolveIpAddress() method
owen-it_laravel-auditing
train
php
7592d6a84c0d54af1f9fad8bded821f77710f2b4
diff --git a/test/integration/long_test.py b/test/integration/long_test.py index <HASH>..<HASH> 100755 --- a/test/integration/long_test.py +++ b/test/integration/long_test.py @@ -3,7 +3,7 @@ import os from test_common import * def test_function(opts, port): stress_client = opts['stress'] - os.system(stress_cl...
A few changes to the long test.
rethinkdb_rethinkdb
train
py
c46eb694163d5e0f178706003eeec489e4e4cf3f
diff --git a/src/python/dxpy/utils/executable_unbuilder.py b/src/python/dxpy/utils/executable_unbuilder.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/utils/executable_unbuilder.py +++ b/src/python/dxpy/utils/executable_unbuilder.py @@ -221,7 +221,7 @@ def _dump_app_or_applet(executable, omit_resources=False, des...
DEVEX-<I> Fix dx get applet without execDepends (#<I>)
dnanexus_dx-toolkit
train
py
65f72dc2cd120f96a2c0ebb5c5c7898aaa86c3d4
diff --git a/pysher/channel.py b/pysher/channel.py index <HASH>..<HASH> 100755 --- a/pysher/channel.py +++ b/pysher/channel.py @@ -17,7 +17,7 @@ class Channel(object): :param callback: The callback to notify of this event. """ - self.event_callbacks[event_name].append((callback, *args, **kwar...
removed incorrectly placed starred unpacking
nlsdfnbch_Pysher
train
py
65475dc56e04da109cf3744987f2e00fafca914f
diff --git a/src/main.js b/src/main.js index <HASH>..<HASH> 100644 --- a/src/main.js +++ b/src/main.js @@ -396,23 +396,14 @@ function configureCrashReporter() { // Start crash reporter for all processes const productName = (product.crashReporter ? product.crashReporter.productName : undefined) || product.nameShort;...
crash reporter - fix runtime crash with invlid props (fix #<I>) //cc @deepak<I>
Microsoft_vscode
train
js
db6b155f628576e86f705dc3c53ee75715ec33b1
diff --git a/stcrestclient/tccsh.py b/stcrestclient/tccsh.py index <HASH>..<HASH> 100644 --- a/stcrestclient/tccsh.py +++ b/stcrestclient/tccsh.py @@ -24,6 +24,9 @@ if sys.version_info < (2, 7): print("requires python2.7 or later", file=sys.stderr) sys.exit(1) +if __name__ == '__main__' and __package__ is N...
Work in py3 when executed by name
Spirent_py-stcrestclient
train
py
a49ccc5fd730adc39ab9c00d54d03b4bce09f1b1
diff --git a/truffle.js b/truffle.js index <HASH>..<HASH> 100644 --- a/truffle.js +++ b/truffle.js @@ -7,8 +7,14 @@ module.exports = { development: { host: "localhost", port: 8545, -// gas: 900000000, // Only use the non-default gas when we're running tests + gas: 5000000, network_id...
Actually enable compiler's optimization so that we can run under much more modest gas limits.
urbit_azimuth
train
js
cc198e64acac977a7e04b1a90e604b8577d1a65c
diff --git a/spyder/plugins/editor.py b/spyder/plugins/editor.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor.py +++ b/spyder/plugins/editor.py @@ -418,6 +418,14 @@ class Editor(SpyderPluginWidget): self.dock_toolbar_actions = None self.edit_menu_actions = None #XXX: find another way to no...
Def plugin var before initialize_plugin
spyder-ide_spyder
train
py
8c42098dfc34e31341f9b6f0006a7549808d14d1
diff --git a/wp-stage-switcher.php b/wp-stage-switcher.php index <HASH>..<HASH> 100644 --- a/wp-stage-switcher.php +++ b/wp-stage-switcher.php @@ -65,7 +65,10 @@ class StageSwitcher { 'id' => 'environment', 'parent' => 'top-secondary', 'title' => ucwords($current_stage), - 'href' ...
Add class for current environment to top menu item
roots_wp-stage-switcher
train
php
29bb516ced14a17656a6ca57077850756a4604ff
diff --git a/ella/newman/media/js/newman.js b/ella/newman/media/js/newman.js index <HASH>..<HASH> 100644 --- a/ella/newman/media/js/newman.js +++ b/ella/newman/media/js/newman.js @@ -640,9 +640,15 @@ $( function() { // Set up returning to publishable changelist when coming to change form from it $('#changelis...
Post-save redirection. Fixes #<I>. When an object is saved via its changeform, redirection occurs back to its changelist or /core/publishable/. No longer redirecting to other changelists.
ella_ella
train
js
164bf8fdfe7905edd34184310ca0271962b18f21
diff --git a/presto-main/src/main/java/com/facebook/presto/operator/aggregation/LongSumAggregation.java b/presto-main/src/main/java/com/facebook/presto/operator/aggregation/LongSumAggregation.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/java/com/facebook/presto/operator/aggregation/LongSumAggregation.jav...
Check for overflow in SUM aggregation for BIGINTs Aggregate query with SUM() is aborted as soon as overflow occurs.
prestodb_presto
train
java
932b4447e5604d1c855893f3efa29524ca10daf7
diff --git a/test/dummy/app/models/user.rb b/test/dummy/app/models/user.rb index <HASH>..<HASH> 100644 --- a/test/dummy/app/models/user.rb +++ b/test/dummy/app/models/user.rb @@ -1,5 +1,5 @@ class User < ActiveRecord::Base - serialize :preferences, Hash.new(favorite_color: "circulian", favorite_animal: "platypus") + ...
removing preferences defaults from user model in test app
bootstrap-ruby_bootstrap_form
train
rb
3871a7862067948e75dbc0ed2b75556c12a8ea46
diff --git a/Protocol/Item.php b/Protocol/Item.php index <HASH>..<HASH> 100755 --- a/Protocol/Item.php +++ b/Protocol/Item.php @@ -152,7 +152,7 @@ class Item * @return \Debril\RssAtomBundle\Protocol\Item */ public function setImage($image) - { + { $this->image = $image; return $t...
Updated so that RssParser populates the Item's image if available
alexdebril_rss-atom-bundle
train
php,php
1b5f93db039c201c1a59ddfc4878f77ac13c88d1
diff --git a/src/FluentDOM.php b/src/FluentDOM.php index <HASH>..<HASH> 100644 --- a/src/FluentDOM.php +++ b/src/FluentDOM.php @@ -124,14 +124,14 @@ abstract class FluentDOM { } /** - * Set a loader used in FluentDOM::load(), NULL will reset the loader. + * Set a loader used in FluentDOM::load(), FALSE will...
Use FALSE to reset the loader, not NULL
ThomasWeinert_FluentDOM
train
php
bb815db2e55f8d872876d2e0ae233b1aab0048c9
diff --git a/mock/mock.py b/mock/mock.py index <HASH>..<HASH> 100644 --- a/mock/mock.py +++ b/mock/mock.py @@ -2,7 +2,6 @@ # Test tools for mocking and patching. # E-mail: fuzzyman AT voidspace DOT org DOT uk # -# mock 2.0.0 # http://www.voidspace.org.uk/python/mock/ # # Copyright (c) 2007-2013, Michael Foord & t...
remove a copy of the version that's likely to get out of date
testing-cabal_mock
train
py
065911eea811a4d305d496b0b8c9e2cd61e26e4d
diff --git a/src/pytest_cov/plugin.py b/src/pytest_cov/plugin.py index <HASH>..<HASH> 100644 --- a/src/pytest_cov/plugin.py +++ b/src/pytest_cov/plugin.py @@ -254,10 +254,9 @@ class CovPlugin(object): self.cov = None -def pytest_funcarg__cov(request): - """A pytest funcarg that provides access to th...
Fix definition of `cov` fixture for pytest 3 With pytest <I> (not released yet) the following warning gets emitted: > WC1 None pytest_funcarg__cov: declaring fixtures using > "pytest_funcarg__" prefix is deprecated and scheduled to be removed in > pytest <I>. Please remove the prefix and use the @pytest.fixture deco...
pytest-dev_pytest-cov
train
py
9a0a685315eecf8db63579e79a81f383ed989e6a
diff --git a/Socks/Server.php b/Socks/Server.php index <HASH>..<HASH> 100644 --- a/Socks/Server.php +++ b/Socks/Server.php @@ -227,12 +227,14 @@ class Server extends EventEmitter })->then(function ($password) use ($username, $auth, $stream) { // username and password known ...
Properly close connection if authentication fails
clue_php-socks
train
php
caef971d4aec30f48d2d5f2150a7520865738273
diff --git a/lib/prospectus/modules/homebrew_cask.rb b/lib/prospectus/modules/homebrew_cask.rb index <HASH>..<HASH> 100644 --- a/lib/prospectus/modules/homebrew_cask.rb +++ b/lib/prospectus/modules/homebrew_cask.rb @@ -6,12 +6,8 @@ module LogCabin def load! raise('No name specified') unless @name ...
use brew internal command for cask version
akerl_prospectus
train
rb
1af7eb0ad5732160ed3c58436fc9dd375cf8680b
diff --git a/tests/Stubs/ExceptionHandlerStub.php b/tests/Stubs/ExceptionHandlerStub.php index <HASH>..<HASH> 100644 --- a/tests/Stubs/ExceptionHandlerStub.php +++ b/tests/Stubs/ExceptionHandlerStub.php @@ -2,10 +2,10 @@ namespace Laravel\BrowserKitTesting\Tests\Stubs; -use Throwable; use Illuminate\Contracts\Deb...
Apply fixes from StyleCI (#<I>)
laravel_browser-kit-testing
train
php
d2f58ab5a4eb96252f55b4093a9ae027cc35fb0a
diff --git a/src/BroadcastEventTrait.php b/src/BroadcastEventTrait.php index <HASH>..<HASH> 100644 --- a/src/BroadcastEventTrait.php +++ b/src/BroadcastEventTrait.php @@ -21,11 +21,13 @@ trait BroadcastEventTrait { /** * @var string + * @internal */ private $broadcastName; /** * ...
Mark broadcast name and broadcast channels as internal used
borobudur-php_borobudur-broadcasting
train
php
a16fafabb044fe1481d7fd346921f13714a5b067
diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index <HASH>..<HASH> 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -885,6 +885,9 @@ type RestartPolicy struct { } func (r *RestartPolicy) Validate() error { + if r.Interval == 0 { + return nil + } if time.Duration(r.Attemp...
Fixed validation logic for restart policy when interval is zero
hashicorp_nomad
train
go,go
ef5ac548d6374d9696f0183a3f0f3cb1fc4d7633
diff --git a/djstripe/views.py b/djstripe/views.py index <HASH>..<HASH> 100644 --- a/djstripe/views.py +++ b/djstripe/views.py @@ -129,7 +129,7 @@ class WebHook(View): traceback="" ) else: - event = Event._create_from_stripe_object(data) + event = Event._crea...
Avoid saving Event twice event.validate() will call save() all on its own.
dj-stripe_dj-stripe
train
py
913c0013dfe87ab15947855b7d14b808fa36d4c8
diff --git a/fcrepo-http-api/src/main/resources/views/common.js b/fcrepo-http-api/src/main/resources/views/common.js index <HASH>..<HASH> 100644 --- a/fcrepo-http-api/src/main/resources/views/common.js +++ b/fcrepo-http-api/src/main/resources/views/common.js @@ -140,7 +140,7 @@ function checkIfNonRdfResource(e) { ...
Fixed javascript bug that broke certain links in the HTML UI.
fcrepo4_fcrepo4
train
js
2b27e19e2e602c09448697526302829c591a37bd
diff --git a/lib/flor/executor.rb b/lib/flor/executor.rb index <HASH>..<HASH> 100644 --- a/lib/flor/executor.rb +++ b/lib/flor/executor.rb @@ -104,7 +104,7 @@ module Flor end head = head.new(@execution, node, message) - head.applied = hval if head.respond_to?(:applied=) + head.applied = hval...
do not feed hval to procedure unless necessary
floraison_flor
train
rb
4d5a24c6494c274137517c8bdc6b1c902c4e6339
diff --git a/bcbio/qc/multiqc.py b/bcbio/qc/multiqc.py index <HASH>..<HASH> 100644 --- a/bcbio/qc/multiqc.py +++ b/bcbio/qc/multiqc.py @@ -53,7 +53,9 @@ def summary(*samples): else: export_tmp = "" path_export = utils.local_path_export() - ...
MultiQC: support custom options through resources
bcbio_bcbio-nextgen
train
py
311badaff0097710062460a684811334ce2491cc
diff --git a/lib/webpacker/dev_server_proxy.rb b/lib/webpacker/dev_server_proxy.rb index <HASH>..<HASH> 100644 --- a/lib/webpacker/dev_server_proxy.rb +++ b/lib/webpacker/dev_server_proxy.rb @@ -11,7 +11,9 @@ class Webpacker::DevServerProxy < Rack::Proxy def perform_request(env) if env["PATH_INFO"].start_with...
Fix incorrect host forwarding (#<I>) Add missing port forwarding
rails_webpacker
train
rb
2e5d42686a6852133a61b628209ed3d2255a9498
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,6 +55,9 @@ nitpick_ignore = [ ('py:func', 'symfit.core.leastsqbound.leastsqbound') ] +# Always re-execute notebooks when building the docs +nbsphinx_execute = 'always' + # Add any paths that contai...
Always reexecute notebooks when building docs. It might take some time, but this way at least the output will always be up to data with the latest changes to the core.
tBuLi_symfit
train
py
dfa1bf67977d782509b9c7e89994a628bb0882fa
diff --git a/src/plugins/Transloadit/index.js b/src/plugins/Transloadit/index.js index <HASH>..<HASH> 100644 --- a/src/plugins/Transloadit/index.js +++ b/src/plugins/Transloadit/index.js @@ -239,7 +239,7 @@ module.exports = class Transloadit extends Plugin { if (!files.hasOwnProperty(id)) { continue ...
transloadit: Fix finding correct file for a tus upload URL when upload has not completed.
transloadit_uppy
train
js
33ac62404b0c4e9c7d6dfbe02a196aa8aa267bbf
diff --git a/utils/coord2area_def.py b/utils/coord2area_def.py index <HASH>..<HASH> 100644 --- a/utils/coord2area_def.py +++ b/utils/coord2area_def.py @@ -51,7 +51,8 @@ import os os.environ['PPP_CONFIG_DIR'] = '/my_local_path/for_satpy_configuration' As a further functionality this script may give a quick display o...
Update coord2area_def.py
pytroll_satpy
train
py
c28454289fd828c3a6b9094348310ae33066c6fa
diff --git a/arcanist/lib/WatchmanTestCase.php b/arcanist/lib/WatchmanTestCase.php index <HASH>..<HASH> 100644 --- a/arcanist/lib/WatchmanTestCase.php +++ b/arcanist/lib/WatchmanTestCase.php @@ -44,7 +44,12 @@ class WatchmanTestCase extends ArcanistPhutilTestCase { $res = $this->watchmanCommand('watch', $root); ...
Handle disconnects better in test watch assertion
facebook_watchman
train
php
c705a466994921e7830e869563fb98444f7d2fd3
diff --git a/lib/Wei.php b/lib/Wei.php index <HASH>..<HASH> 100644 --- a/lib/Wei.php +++ b/lib/Wei.php @@ -773,13 +773,22 @@ namespace Wei * Set autoload directories for autoload method * * @param array $map + * @throws \InvalidArgumentException * @return $this ...
added dir not found detect for autoload map
twinh_wei
train
php
37d1eb33c48615f09e7173a78cb4a7712675f9de
diff --git a/dolo/algos/dtcscc/gssa.py b/dolo/algos/dtcscc/gssa.py index <HASH>..<HASH> 100644 --- a/dolo/algos/dtcscc/gssa.py +++ b/dolo/algos/dtcscc/gssa.py @@ -137,7 +137,7 @@ def gssa(model, maxit=100, tol=1e-8, initial_dr=None, verbose=False, X = Phi_sim @ coefs # compute expectation - ...
one typo in gssa
EconForge_dolo
train
py
4e4c5a9fcacd7c45dbc10f504d558b7d5ce7e21c
diff --git a/api/config/routing.php b/api/config/routing.php index <HASH>..<HASH> 100644 --- a/api/config/routing.php +++ b/api/config/routing.php @@ -3,12 +3,12 @@ namespace monad\api; return function($m) use($project) { - $m->connect('/monad/page/(%s:language)/(%s:slug)/', 'monad\api\Page'); + $m->connect('...
hm, urls get fucked up since it thinks it is in the admin section... crap...
monomelodies_monad
train
php
6affed18b6a9eb1fc65bf90a7241f83d54d2f9ac
diff --git a/src/test/java/com/zandero/rest/injection/GuiceInjectionProvider.java b/src/test/java/com/zandero/rest/injection/GuiceInjectionProvider.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/zandero/rest/injection/GuiceInjectionProvider.java +++ b/src/test/java/com/zandero/rest/injection/GuiceInjectionPro...
Fixing ambiguity problem with Module reference
zandero_rest.vertx
train
java
af443e0e29aeec48d672d6db1c63b2fbcb596035
diff --git a/src/SMSService.php b/src/SMSService.php index <HASH>..<HASH> 100644 --- a/src/SMSService.php +++ b/src/SMSService.php @@ -7,6 +7,9 @@ */ namespace marqu3s\nrsgateway; +use yii\helpers\VarDumper; +use Yii; + /** * Class SMSService *
Update SMSService.php Add some use statements.
marqu3s_nrsgateway
train
php
3059afd5b6def4bcd0783f2b2d1f6f9e26e4b0aa
diff --git a/src/CPDs.py b/src/CPDs.py index <HASH>..<HASH> 100644 --- a/src/CPDs.py +++ b/src/CPDs.py @@ -3,6 +3,7 @@ import numpy as np + class TabularCPD(): """Represents the CPD of a node in tabular form""" def __init__(self, cpd):
Fixed PEP8 non-compliance
pgmpy_pgmpy
train
py
92b211fc8ca228de58ec5fd19aa1cbc13821c608
diff --git a/library/src/main/java/eu/inmite/android/lib/validations/form/adapters/FieldEqualsAdapter.java b/library/src/main/java/eu/inmite/android/lib/validations/form/adapters/FieldEqualsAdapter.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/eu/inmite/android/lib/validations/form/adapters/FieldEqualsAd...
Add source view to equals adapter for comparison.
inmite_android-validation-komensky
train
java
f4cde961b602da6c371f5e76413821ed19074d40
diff --git a/tests/PHPUnit/TestingEnvironment.php b/tests/PHPUnit/TestingEnvironment.php index <HASH>..<HASH> 100644 --- a/tests/PHPUnit/TestingEnvironment.php +++ b/tests/PHPUnit/TestingEnvironment.php @@ -136,6 +136,10 @@ class Piwik_TestingEnvironment } } + if ($testingEnvironment->hos...
Allow test code to override URL host.
matomo-org_matomo
train
php
518fbf85ee12dd02c0467df3d812f7bf669bbbdc
diff --git a/graphenebase/transactions.py b/graphenebase/transactions.py index <HASH>..<HASH> 100644 --- a/graphenebase/transactions.py +++ b/graphenebase/transactions.py @@ -609,7 +609,7 @@ def getBlockParams(ws) : witness node! """ dynBCParams = ws.get_object("2.1.0") - ref_block_num = dynBCPara...
[Transactions] Fix ref_block_num by limiting to 0x<I>xffff
xeroc_python-graphenelib
train
py
2703969d8e6af2a58a13ab7801136c72d3f71703
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +1.12.1 +====== + +2017-09-21 + +* fixed espeak output messing up ncurses +* fixed title not being included in non-figlet fallback text + + 1.12.0 ====== diff --git a/setup.py b/setup.py index...
release <I> :shipit:
trehn_termdown
train
md,py,py
5d460376bdcb4aebf1dbc06a99ff778316c8304a
diff --git a/ariadne/schema_visitor.py b/ariadne/schema_visitor.py index <HASH>..<HASH> 100644 --- a/ariadne/schema_visitor.py +++ b/ariadne/schema_visitor.py @@ -72,7 +72,7 @@ def update_each_key(object_map: VisitableMap, callback: Callback): keys_to_remove: List[str] = [] - for key, value in object_map.it...
Iterate over copy of the map in case directives need to add types
mirumee_ariadne
train
py
1c603fae9a13dcd1e30d768356984821d9ec9a0b
diff --git a/lib/pip.js b/lib/pip.js index <HASH>..<HASH> 100644 --- a/lib/pip.js +++ b/lib/pip.js @@ -242,7 +242,7 @@ function installRequirements(targetFolder, serverless, options) { const preparedPath = dockerPathForWin(options, targetFolder); cmdOptions.push(getStripCommand(options, preparedPath)); } -...
Don't set pip CWD to target dir (#<I>) This fixes #<I> by making it so that relative paths in dependencies resolve correctly
UnitedIncome_serverless-python-requirements
train
js
87ee3307e87917fee76c951ade4beceff42166ee
diff --git a/monolithe/generators/sdk/cli.py b/monolithe/generators/sdk/cli.py index <HASH>..<HASH> 100755 --- a/monolithe/generators/sdk/cli.py +++ b/monolithe/generators/sdk/cli.py @@ -76,8 +76,7 @@ def main(argv=sys.argv): metavar="branches", help="The branches of th...
-b is not required for folder generation
nuagenetworks_monolithe
train
py
c05fcf33d12d391e46be7da0912cea73f56d65d7
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/ssh/__init__.py +++ b/salt/client/ssh/__init__.py @@ -126,8 +126,11 @@ SUDO="" if [ -n "{{SUDO}}" ] then SUDO="sudo " fi -if [ "$SUDO" ] +SUDO_USER="{{SUDO_USER}}" +if [ "$SUDO" ] && [ "$SUDO_USER" ] ...
Fixup SSH bug where sudo without sudo user would break Fixes #<I>
saltstack_salt
train
py
8630167da724060cb6d1f5b2bd7d5da21ca76483
diff --git a/lib/plugins/pidfiles.js b/lib/plugins/pidfiles.js index <HASH>..<HASH> 100644 --- a/lib/plugins/pidfiles.js +++ b/lib/plugins/pidfiles.js @@ -40,6 +40,13 @@ module.exports = function(dir, level){ return function(master){ dir = master.resolve(dir || 'pids'); - console.log(master); + // save ...
writting pidfiles
LearnBoost_cluster
train
js
584528aad2f1073760ae19bd1542a57c9179fc48
diff --git a/aeron-cluster/src/test/java/io/aeron/cluster/TestCluster.java b/aeron-cluster/src/test/java/io/aeron/cluster/TestCluster.java index <HASH>..<HASH> 100644 --- a/aeron-cluster/src/test/java/io/aeron/cluster/TestCluster.java +++ b/aeron-cluster/src/test/java/io/aeron/cluster/TestCluster.java @@ -360,7 +360,7 ...
[Java] Revert sleep from <I> t0 <I>ms when awaiting for leader in TestCluster.
real-logic_aeron
train
java
c463e12538943aab758fba793e1af24b18856e06
diff --git a/test/scenario_test/bgp_router_test.py b/test/scenario_test/bgp_router_test.py index <HASH>..<HASH> 100644 --- a/test/scenario_test/bgp_router_test.py +++ b/test/scenario_test/bgp_router_test.py @@ -432,9 +432,9 @@ class GoBGPTestBase(unittest.TestCase): g2.local('gobgp global rib add 50.0.0.0/24...
test: use passive connection for gobgp and gobgp connection kinda workaround.
osrg_gobgp
train
py
4b3c308530d486612dc8e0cdf1c66f64441ee6a1
diff --git a/test/integration/command_line_sanitizing.py b/test/integration/command_line_sanitizing.py index <HASH>..<HASH> 100755 --- a/test/integration/command_line_sanitizing.py +++ b/test/integration/command_line_sanitizing.py @@ -68,8 +68,11 @@ def check_rethinkdb_flags(opts, flags, expected_return_value): re...
Convert exit codes to signed char values
rethinkdb_rethinkdb
train
py
81dd98d6b9b432cf059e92f877084b89365d6c29
diff --git a/test/setup.js b/test/setup.js index <HASH>..<HASH> 100644 --- a/test/setup.js +++ b/test/setup.js @@ -66,6 +66,8 @@ mock('plotly.js/dist/plotly', { 'newPlot': function(data, layout, config) {}, }) +mock('enchannel-zmq-backend', {}) + mock('electron', { 'shell': { 'openExternal': function(url...
test(mock): mock require enchannel zmq to prevent requiring
nteract_nteract
train
js
2577044ee9a9e571eaf670831e5a72febc44ecb2
diff --git a/spec/range_spec.rb b/spec/range_spec.rb index <HASH>..<HASH> 100644 --- a/spec/range_spec.rb +++ b/spec/range_spec.rb @@ -66,4 +66,14 @@ describe WrapExcel::Range do end end end + + describe "#method_missing" do + it "can access COM method" do + @range.Range(@range.Cells.Item(1), @r...
Add test pattern for Range#method_missing.
tomiacannondale_wrap_excel
train
rb
ae0632fbf5f744a8a3b28ce4d73bd88a461ffa14
diff --git a/salt/modules/launchctl.py b/salt/modules/launchctl.py index <HASH>..<HASH> 100644 --- a/salt/modules/launchctl.py +++ b/salt/modules/launchctl.py @@ -142,6 +142,20 @@ def available(job_label): return True if _service_by_name(job_label) else False +def missing(job_label): + ''' + The inverse ...
Added missing function to launchctl
saltstack_salt
train
py
de635af3f1ef740aa32f53a91473269c6435e19e
diff --git a/src/transformers/onnx/convert.py b/src/transformers/onnx/convert.py index <HASH>..<HASH> 100644 --- a/src/transformers/onnx/convert.py +++ b/src/transformers/onnx/convert.py @@ -20,10 +20,10 @@ from typing import Iterable, List, Tuple, Union import numpy as np from packaging.version import Version, parse...
Changed relative imports to absolute to allow convert_graph_to_onnx.py to run as a script. (#<I>) * Changed relative imports to absolute to allow convert_graph_to_onnx.py to be run as a script * isorted code
huggingface_pytorch-pretrained-BERT
train
py
5e4d77b2b8020a106a13762c49ef40acac619a9c
diff --git a/eth/block_pool.go b/eth/block_pool.go index <HASH>..<HASH> 100644 --- a/eth/block_pool.go +++ b/eth/block_pool.go @@ -11,6 +11,7 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethutil" ethlogger "github.com/ethereum/go-ethereum/logger" + "github.com/ethereum...
initial commit for eth blockpool + test
ethereum_go-ethereum
train
go
3e5db160fb899c4fd5425a4253f7103e97dbd4ba
diff --git a/src/PixelPolishers/Resolver/Entity/Package.php b/src/PixelPolishers/Resolver/Entity/Package.php index <HASH>..<HASH> 100644 --- a/src/PixelPolishers/Resolver/Entity/Package.php +++ b/src/PixelPolishers/Resolver/Entity/Package.php @@ -14,6 +14,8 @@ class Package private $createdAt; private $update...
Added methods to retrieve the name and vendor
pixelpolishers_resolver-php-server
train
php
9d6f6835d652b06b3f6eb9eb6745d18c07751f27
diff --git a/lib/rbbt/workflow/accessor.rb b/lib/rbbt/workflow/accessor.rb index <HASH>..<HASH> 100644 --- a/lib/rbbt/workflow/accessor.rb +++ b/lib/rbbt/workflow/accessor.rb @@ -391,7 +391,7 @@ class Step (defined?(WorkflowRESTClient) && WorkflowRESTClient::RemoteStep === dep) || ! Open.exists?(dep.in...
Make sure that we canfail waiting jobs
mikisvaz_rbbt-util
train
rb
7b70edca5c2927c3b9448917df2b290b15a3910f
diff --git a/luigi/mock.py b/luigi/mock.py index <HASH>..<HASH> 100644 --- a/luigi/mock.py +++ b/luigi/mock.py @@ -106,7 +106,7 @@ class MockTarget(target.FileSystemTarget): def __init__(self, fn, is_tmp=None, mirror_on_stderr=False, format=None): self._mirror_on_stderr = mirror_on_stderr - self....
Rename MockTarget class variable _fn to path
spotify_luigi
train
py
801569a7ada033f68e7730d83ea624370df8b2f5
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 @@ -13,7 +13,8 @@ module Flame ## Take options for rendering @ctrl = ctrl @scope = options.delete(:scope) || @ctrl - @layout = options.delete(:layout) || 'layout.*' + @l...
False value for layout option in Render supported
AlexWayfer_flame
train
rb,rb
635fa7df423f45198150e67831399fe486001c2f
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/plot.py +++ b/holoviews/plotting/plot.py @@ -396,7 +396,7 @@ class DimensionedPlot(Plot): @classmethod - def _traverse_options(cls, obj, opt_type, opts, specs=None, keyfn=None): + def...
Added option to include defaults in Plot.traverse_options
pyviz_holoviews
train
py
97ec2fa3cd7c8c1ab4e44748d173dd7b50daaa7e
diff --git a/lib/falkorlib/version.rb b/lib/falkorlib/version.rb index <HASH>..<HASH> 100644 --- a/lib/falkorlib/version.rb +++ b/lib/falkorlib/version.rb @@ -19,7 +19,7 @@ module FalkorLib #:nodoc: # MAJOR: Defines the major version # MINOR: Defines the minor version # PATCH: Defines the patch version -...
bump to version '<I>'
Falkor_falkorlib
train
rb
a6cae95501f5dc4caf7d5e20a6586dc1339c3f91
diff --git a/holoviews/plotting/bokeh/path.py b/holoviews/plotting/bokeh/path.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/path.py +++ b/holoviews/plotting/bokeh/path.py @@ -40,7 +40,7 @@ class PathPlot(ElementPlot): elmapping['line_color'] = 'color' if isinstance(val,...
Fixed small python 3 bug in bokeh PathPlot
pyviz_holoviews
train
py
072c102fe782f8b7bd31e1d85c3b9149b06f7e70
diff --git a/lib/dotify.js b/lib/dotify.js index <HASH>..<HASH> 100644 --- a/lib/dotify.js +++ b/lib/dotify.js @@ -102,6 +102,14 @@ function dotify(SuperConstructor) { delete this._children[id]; }; + Constructor.prototype.graph = function(value) { + if (arguments.length < 1) { + return SuperConstruct...
Only allow objects as values for Dot(Dig|G)raph
dagrejs_graphlib-dot
train
js,js
5eaec31693a921a1623597ad8c27ffcb03dd8b2c
diff --git a/mwtab/fileio.py b/mwtab/fileio.py index <HASH>..<HASH> 100755 --- a/mwtab/fileio.py +++ b/mwtab/fileio.py @@ -50,14 +50,15 @@ def _generate_filenames(sources): """ for source in sources: if os.path.isdir(source): - for path, dirlist, filelist in os.walk(source): + f...
Fixes issue with parsing directories of file while using MacOS. MacOS creates .DS_store meta datafiles in directories when using Finder which can throw off the parsing of text files from a directory.
MoseleyBioinformaticsLab_mwtab
train
py
de2842d0a125af367866f0524814385d69c12b37
diff --git a/src/DiDom/Document.php b/src/DiDom/Document.php index <HASH>..<HASH> 100644 --- a/src/DiDom/Document.php +++ b/src/DiDom/Document.php @@ -177,6 +177,17 @@ class Document } /** + * @param bool $format + * @return $this + */ + public function format($format = true) + { + ...
Added the ability to format HTML code of the document when outputting
Imangazaliev_DiDOM
train
php
e1e6e8fbd872d7fb891ff266505b1bd44b76b1f1
diff --git a/app/src/Bolt/TwigExtension.php b/app/src/Bolt/TwigExtension.php index <HASH>..<HASH> 100644 --- a/app/src/Bolt/TwigExtension.php +++ b/app/src/Bolt/TwigExtension.php @@ -544,6 +544,15 @@ class TwigExtension extends \Twig_Extension return true; } + // check against entrance pa...
Added a check to the menu's current-Twigfilter. When you set up your page entrance url at the general site config (param "homepage"), the current-filter won't catch this particular case and you wont be able to mark your welcome page as active in the menu. Pretty simple fix.
bolt_bolt
train
php
bbbbfb9452b7ac5807a8b8745fac6dc563f10d4f
diff --git a/lib/driver/pg.js b/lib/driver/pg.js index <HASH>..<HASH> 100644 --- a/lib/driver/pg.js +++ b/lib/driver/pg.js @@ -131,7 +131,7 @@ var PgDriver = Base.extend({ if (typeof columnSpec.defaultValue == 'string'){ defaultValue = "'" + columnSpec.defaultValue + "'"; } else { - ...
change 'spec' to 'columnSpec' in setDefaultValue() because 'spec' is not defined in that scope
db-migrate_node-db-migrate
train
js
3ac6847971c118e3626d7be0ff0b16754de5c60c
diff --git a/lib/fog/vsphere/requests/compute/list_vm_interfaces.rb b/lib/fog/vsphere/requests/compute/list_vm_interfaces.rb index <HASH>..<HASH> 100644 --- a/lib/fog/vsphere/requests/compute/list_vm_interfaces.rb +++ b/lib/fog/vsphere/requests/compute/list_vm_interfaces.rb @@ -33,7 +33,7 @@ module Fog { ...
vsphere: Allow listing virtual port groups This has had limited testing and may not be perfect, but in the current situation loading a DistributedVirtualPortgroup into the model will die because the backing has no property network.
fog_fog
train
rb
36f26fd47ecff07f229264560a68fca0d59911ca
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -546,16 +546,16 @@ module ActionDispatch pa...
we already have access to the AST, so just use it
rails_rails
train
rb
97747bd8731047786de63fe084fac3961758cc0a
diff --git a/lib/jets/lambda/dsl.rb b/lib/jets/lambda/dsl.rb index <HASH>..<HASH> 100644 --- a/lib/jets/lambda/dsl.rb +++ b/lib/jets/lambda/dsl.rb @@ -36,29 +36,27 @@ module Jets::Lambda::Dsl # convenience method that set properties def timeout(value) - @properties ||= {} - @properties[:ti...
reduce duplication in lambda dsl
tongueroo_jets
train
rb